From 596875c55b7ddc254f03055d120a0791486af731 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Wed, 26 Apr 2017 15:56:06 +1000 Subject: [PATCH] Reset player arrow count on death By: md_5 --- paper-server/nms-patches/EntityPlayer.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/paper-server/nms-patches/EntityPlayer.patch b/paper-server/nms-patches/EntityPlayer.patch index 7368774bf..17c735d2f 100644 --- a/paper-server/nms-patches/EntityPlayer.patch +++ b/paper-server/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;