summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-07-24 22:22:56 +1000
committermd_5 <git@md-5.net>2018-07-24 22:22:56 +1000
commit49a2604e1f8721c813820c847f971df4c25002e1 (patch)
tree672a630ec9a388b6717f17fa3eccf0a54b0a7f03 /nms-patches
parent9cfb0090d87db1cb5edec19586c632efe69d725a (diff)
downloadcraftbukkit-49a2604e1f8721c813820c847f971df4c25002e1.tar
craftbukkit-49a2604e1f8721c813820c847f971df4c25002e1.tar.gz
craftbukkit-49a2604e1f8721c813820c847f971df4c25002e1.tar.lz
craftbukkit-49a2604e1f8721c813820c847f971df4c25002e1.tar.xz
craftbukkit-49a2604e1f8721c813820c847f971df4c25002e1.zip
Fix scute dropping
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/EntityTurtle.patch12
1 files changed, 11 insertions, 1 deletions
diff --git a/nms-patches/EntityTurtle.patch b/nms-patches/EntityTurtle.patch
index cf12bb06..0a4df965 100644
--- a/nms-patches/EntityTurtle.patch
+++ b/nms-patches/EntityTurtle.patch
@@ -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) {