remove debug logs from stam/health consumption
This commit is contained in:
@@ -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{
|
||||||
|
|||||||
Reference in New Issue
Block a user