From 2453830549e6f1cfe33dc20d5ac6d96a043bdddf Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 26 Apr 2017 15:56:06 +1000 Subject: [PATCH] Reset player arrow count on death --- nms-patches/EntityPlayer.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nms-patches/EntityPlayer.patch b/nms-patches/EntityPlayer.patch index 7368774bfd..17c735d2f7 100644 --- a/nms-patches/EntityPlayer.patch +++ b/nms-patches/EntityPlayer.patch @@ -517,7 +517,7 @@ } public void a(EnumHand enumhand) { -@@ -975,11 +1182,150 @@ +@@ -975,11 +1182,151 @@ } public void M() { @@ -649,6 +649,7 @@ + this.expTotal = this.newTotalExp; + this.exp = 0; + this.deathTicks = 0; ++ this.f(0); // PAIL: setArrowCount + this.removeAllEffects(); + this.updateEffects = true; + this.activeContainer = this.defaultContainer;