mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-21 14:39:01 +01:00
Fix scute dropping
This commit is contained in:
parent
9cfb0090d8
commit
49a2604e1f
1 changed files with 11 additions and 1 deletions
|
@ -1,6 +1,16 @@
|
||||||
--- a/net/minecraft/server/EntityTurtle.java
|
--- a/net/minecraft/server/EntityTurtle.java
|
||||||
+++ b/net/minecraft/server/EntityTurtle.java
|
+++ b/net/minecraft/server/EntityTurtle.java
|
||||||
@@ -260,7 +260,9 @@
|
@@ -231,7 +231,9 @@
|
||||||
|
|
||||||
|
protected void l() {
|
||||||
|
super.l();
|
||||||
|
+ this.forceDrops = true; // CraftBukkit
|
||||||
|
this.a((IMaterial) Items.SCUTE, 1);
|
||||||
|
+ this.forceDrops = false; // CraftBukkit
|
||||||
|
}
|
||||||
|
|
||||||
|
public void a(float f, float f1, float f2) {
|
||||||
|
@@ -260,7 +262,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onLightningStrike(EntityLightning entitylightning) {
|
public void onLightningStrike(EntityLightning entitylightning) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue