Browse Source

remove debug logs from stam/health consumption

lakebane
FatBoy-DOTC 5 days ago
parent
commit
e1c07deb52
  1. 4
      src/engine/objects/PlayerCharacter.java

4
src/engine/objects/PlayerCharacter.java

@ -6012,7 +6012,7 @@ public class PlayerCharacter extends AbstractCharacter {
mod = 0; mod = 0;
workedStamina = this.stamina.compareAndSet(old, mod); workedStamina = this.stamina.compareAndSet(old, mod);
} }
ChatManager.chatSystemInfo(this, "STAM: " + this.stamina.get() + " / " + this.staminaMax); //ChatManager.chatSystemInfo(this, "STAM: " + this.stamina.get() + " / " + this.staminaMax);
this.timestamps.put("LastConsumeStamina",currentTime); this.timestamps.put("LastConsumeStamina",currentTime);
if(this.stamina.get() == 0){ if(this.stamina.get() == 0){
this.consumeHealth(secondsPassed); this.consumeHealth(secondsPassed);
@ -6035,7 +6035,7 @@ public class PlayerCharacter extends AbstractCharacter {
} }
workedHealth = this.health.compareAndSet(old, mod); workedHealth = this.health.compareAndSet(old, mod);
} }
ChatManager.chatSystemInfo(this, "HEALTH: " + this.health.get() + " / " + this.healthMax); //ChatManager.chatSystemInfo(this, "HEALTH: " + this.health.get() + " / " + this.healthMax);
} }
enum RecoveryType{ enum RecoveryType{

Loading…
Cancel
Save