Browse Source

catch failure in combat stats to prevent deadlock

lakebane-jobs
FatBoy-DOTC 2 days ago
parent
commit
69113ee3c4
  1. 4
      src/engine/objects/PlayerCharacter.java

4
src/engine/objects/PlayerCharacter.java

@ -5160,7 +5160,11 @@ public class PlayerCharacter extends AbstractCharacter {
if (this.combatStats == null) { if (this.combatStats == null) {
this.combatStats = new PlayerCombatStats(this); this.combatStats = new PlayerCombatStats(this);
} else { } else {
try {
this.combatStats.update(); this.combatStats.update();
}catch(Exception ignored){
}
} }
this.doRegen(); this.doRegen();
} }

Loading…
Cancel
Save