summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-11-17 11:03:30 +1100
committermd_5 <git@md-5.net>2017-11-17 11:03:30 +1100
commitb4c298d644ec7d66c955912d8ca7341e53fddcfa (patch)
treec16815ed8debc8c06233bbfe55f5d318c08448cc
parent108fc362c0af5887b8ded6e22b944c7cb6eb1de7 (diff)
downloadcraftbukkit-b4c298d644ec7d66c955912d8ca7341e53fddcfa.tar
craftbukkit-b4c298d644ec7d66c955912d8ca7341e53fddcfa.tar.gz
craftbukkit-b4c298d644ec7d66c955912d8ca7341e53fddcfa.tar.lz
craftbukkit-b4c298d644ec7d66c955912d8ca7341e53fddcfa.tar.xz
craftbukkit-b4c298d644ec7d66c955912d8ca7341e53fddcfa.zip
Fix mismatched setArrowCount method
-rw-r--r--nms-patches/EntityPlayer.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/EntityPlayer.patch b/nms-patches/EntityPlayer.patch
index 20d242d6..4081768d 100644
--- a/nms-patches/EntityPlayer.patch
+++ b/nms-patches/EntityPlayer.patch
@@ -752,7 +752,7 @@
+ this.expTotal = this.newTotalExp;
+ this.exp = 0;
+ this.deathTicks = 0;
-+ this.f(0); // PAIL: setArrowCount
++ this.setArrowCount(0);
+ this.removeAllEffects();
+ this.updateEffects = true;
+ this.activeContainer = this.defaultContainer;