PlayerCombatStats object

This commit is contained in:
2025-01-21 13:33:49 -06:00
parent 5ed7712aed
commit 4ff22d1d20
2 changed files with 18 additions and 18 deletions
+6 -6
View File
@@ -5108,13 +5108,13 @@ public class PlayerCharacter extends AbstractCharacter {
}
if(this.combatStats == null){
this.combatStats = new PlayerCombatStats(this);
if(this.isAlive() && this.isActive && this.enteredWorld) {
if (this.combatStats == null) {
this.combatStats = new PlayerCombatStats(this);
}
PlayerCombatStats cStats = this.combatStats;
cStats.update();
}
PlayerCombatStats cStats = this.combatStats;
cStats.update();
} catch (Exception e) {
Logger.error(e);
} finally {