catch failure in combat stats to prevent deadlock
This commit is contained in:
@@ -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 {
|
||||||
this.combatStats.update();
|
try {
|
||||||
|
this.combatStats.update();
|
||||||
|
}catch(Exception ignored){
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.doRegen();
|
this.doRegen();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user