From 49a2604e1f8721c813820c847f971df4c25002e1 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 24 Jul 2018 22:22:56 +1000 Subject: Fix scute dropping --- nms-patches/EntityTurtle.patch | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'nms-patches') 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) { -- cgit v1.2.3