remove debug logs from stam/health consumption

This commit is contained in:
2025-01-13 09:09:38 -06:00
parent 5f10c24f03
commit e1c07deb52
+2 -2
View File
@@ -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{