calculate combat stats spam fix
This commit is contained in:
@@ -5061,14 +5061,16 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
}
|
}
|
||||||
this.updateLocation();
|
this.updateLocation();
|
||||||
if(this.isAlive() && this.isActive && this.enteredWorld) {
|
if(this.isAlive() && this.isActive && this.enteredWorld) {
|
||||||
|
|
||||||
this.updateMovementState();
|
this.updateMovementState();
|
||||||
this.doRegen();
|
|
||||||
|
|
||||||
if (this.combatStats == null) {
|
if (this.combatStats == null) {
|
||||||
this.combatStats = new PlayerCombatStats(this);
|
this.combatStats = new PlayerCombatStats(this);
|
||||||
} else {
|
} else {
|
||||||
this.combatStats.update();
|
this.combatStats.update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.doRegen();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.getStamina() < 10) {
|
if (this.getStamina() < 10) {
|
||||||
|
|||||||
Reference in New Issue
Block a user