use new regen calculations

This commit is contained in:
2025-01-29 20:09:42 -06:00
parent 198648d3db
commit 402d69312c
+1 -1
View File
@@ -5743,7 +5743,7 @@ public class PlayerCharacter extends AbstractCharacter {
}else{
consumption = 0.65f * secondsPassed;
}
if(this.movementState.equals(MovementState.SWIMMING))
if(!this.canBreathe)
consumption = 1.5f * secondsPassed;
else if(this.isFlying())
consumption = 2.0f * secondsPassed;