PlayerCombatStats object
This commit is contained in:
1 parent
5ed7712aed
commit
4ff22d1d20
2 files changed
+18
-18
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user