calculate combat stats spam fix

This commit is contained in:
2025-01-30 19:53:34 -06:00
parent f4267c3c92
commit 3ed303bec4
+3 -1
View File
@@ -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) {