Stop stamina consumption on game pause

This commit is contained in:
gentlespoon
2022-05-07 16:29:40 -07:00
committed by Melledy
parent 8e99cb4f35
commit 836e0150b5
8 changed files with 33 additions and 43 deletions

View File

@@ -557,7 +557,7 @@ public class TeamManager {
// return;
// }
// }
player.getMovementManager().stopSustainedStaminaHandler(); // prevent drowning immediately after respawn
player.getStaminaManager().stopSustainedStaminaHandler(); // prevent drowning immediately after respawn
// Revive all team members
for (EntityAvatar entity : getActiveTeam()) {