fix two world client memory leaks (#1650)

This commit is contained in:
Alexdoru authored and GitHub committed 2026-04-06 16:38:03 +00:00
1 parent bdc4431760
commit 47762f921e
3 files changed
+12 -9

No files matched your search

@@ -75,7 +75,7 @@ public class HandRenderer {
return mc.entityRenderer.debugViewDirection <= 0 &&
mc.gameSettings.thirdPersonView == 0 &&
!camera.getEntity().isPlayerSleeping() &&
!camera.isSleeping() &&
!mc.gameSettings.hideGUI &&
!GameModeUtil.isSpectator() &&
!mc.playerController.enableEverythingIsScrewedUpMode();