Skip to content

Commit

Permalink
Fix idling not working within screens
Browse files Browse the repository at this point in the history
  • Loading branch information
LostLuma committed Dec 16, 2023
1 parent ddffc85 commit 03e4cb9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/dynamic_fps/impl/DynamicFPSMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 03e4cb9

Please sign in to comment.