hot fix for regen

This commit is contained in:
2025-02-16 14:26:47 -06:00
parent 1132f88b85
commit f5ebda9147
+7 -5
View File
@@ -890,12 +890,14 @@ public class PlayerCombatStats {
public void regenerate(){ public void regenerate(){
if(!this.owner.effects.containsKey("Stunned")) { if(!this.owner.effects.containsKey("Stunned")) {
healthRegen(this.owner); // healthRegen(this.owner);
manaRegen(this.owner); //manaRegen(this.owner);
staminaRegen(this.owner); //staminaRegen(this.owner);
this.owner.doRegen();
this.owner.syncClient();
} }
staminaConsume(this.owner); //staminaConsume(this.owner);
this.owner.syncClient(); //this.owner.syncClient();
} }
public static void healthRegen(PlayerCharacter pc){ public static void healthRegen(PlayerCharacter pc){
if(!pc.timestamps.containsKey("LASTHEALTHREGEN")) if(!pc.timestamps.containsKey("LASTHEALTHREGEN"))