Fix scute dropping

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2018-07-24 22:22:56 +10:00
parent 7c8edd3ea1
commit dffbcaf70d

View file

@ -1,6 +1,16 @@
--- a/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) {