calculate combat stats spam fix
This commit is contained in:
1 parent
c5f678ea0e
commit
f4267c3c92
2 files changed
+21
-19
No files matched your search
@@ -5060,14 +5060,16 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
return;
|
||||
}
|
||||
this.updateLocation();
|
||||
this.updateMovementState();
|
||||
this.doRegen();
|
||||
if (this.combatStats == null) {
|
||||
this.combatStats = new PlayerCombatStats(this);
|
||||
}else{
|
||||
this.combatStats.update();
|
||||
}
|
||||
if(this.isAlive() && this.isActive && this.enteredWorld) {
|
||||
this.updateMovementState();
|
||||
this.doRegen();
|
||||
|
||||
if (this.combatStats == null) {
|
||||
this.combatStats = new PlayerCombatStats(this);
|
||||
} else {
|
||||
this.combatStats.update();
|
||||
}
|
||||
}
|
||||
|
||||
if (this.getStamina() < 10) {
|
||||
if (this.getAltitude() > 0 || this.getDesiredAltitude() > 0) {
|
||||
|
||||
Reference in new issue
Block a user