From 03e4cb967945203637f7897c31717108aceca643 Mon Sep 17 00:00:00 2001 From: LostLuma Date: Sat, 16 Dec 2023 13:56:57 +0100 Subject: [PATCH] Fix idling not working within screens --- src/main/java/dynamic_fps/impl/DynamicFPSMod.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/dynamic_fps/impl/DynamicFPSMod.java b/src/main/java/dynamic_fps/impl/DynamicFPSMod.java index f0469799..8147c666 100644 --- a/src/main/java/dynamic_fps/impl/DynamicFPSMod.java +++ b/src/main/java/dynamic_fps/impl/DynamicFPSMod.java @@ -167,9 +167,7 @@ private static void registerTickEvent() { tickEventRegistered = true; - // I assume world ticks only happen 20 times a second - // Instead of whatever amount of FPS we get at the moment? - ClientTickEvents.START_WORLD_TICK.register((minecraft) -> { + ClientTickEvents.START_CLIENT_TICK.register((minecraft) -> { var idle = isIdle(); if (idle != wasIdle) {