optimize PlayerCombatStats calling
This commit is contained in:
@@ -5064,8 +5064,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
this.doRegen();
|
this.doRegen();
|
||||||
if (this.combatStats == null) {
|
if (this.combatStats == null) {
|
||||||
this.combatStats = new PlayerCombatStats(this);
|
this.combatStats = new PlayerCombatStats(this);
|
||||||
}
|
}else{
|
||||||
if(this.combatStats != null){
|
|
||||||
this.combatStats.update();
|
this.combatStats.update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user