Reset player arrow count on death

This commit is contained in:
md_5 2017-04-26 15:56:06 +10:00
parent 28d993ccec
commit 2453830549

View File

@ -517,7 +517,7 @@
} }
public void a(EnumHand enumhand) { public void a(EnumHand enumhand) {
@@ -975,11 +1182,150 @@ @@ -975,11 +1182,151 @@
} }
public void M() { public void M() {
@ -649,6 +649,7 @@
+ this.expTotal = this.newTotalExp; + this.expTotal = this.newTotalExp;
+ this.exp = 0; + this.exp = 0;
+ this.deathTicks = 0; + this.deathTicks = 0;
+ this.f(0); // PAIL: setArrowCount
+ this.removeAllEffects(); + this.removeAllEffects();
+ this.updateEffects = true; + this.updateEffects = true;
+ this.activeContainer = this.defaultContainer; + this.activeContainer = this.defaultContainer;