From 0c45a548cc0785f04297b538b7065a41ee5f2851 Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Thu, 18 May 2023 02:58:08 -0400 Subject: [PATCH] Pause in-game time when the world is paused --- src/main/java/emu/grasscutter/game/world/World.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/emu/grasscutter/game/world/World.java b/src/main/java/emu/grasscutter/game/world/World.java index 63dd9b5c2..b6f70ccf1 100644 --- a/src/main/java/emu/grasscutter/game/world/World.java +++ b/src/main/java/emu/grasscutter/game/world/World.java @@ -485,6 +485,8 @@ public final class World implements Iterable { // Update the world time. this.getWorldTime(); this.updateTime(); + // Lock the world time. + this.lockTime(paused); // If the world is being un-paused, update the last update time. if (this.isPaused != paused && !paused) {