diff --git a/src/main/java/emu/grasscutter/game/world/World.java b/src/main/java/emu/grasscutter/game/world/World.java index d21aeeb33..5f1e8b952 100644 --- a/src/main/java/emu/grasscutter/game/world/World.java +++ b/src/main/java/emu/grasscutter/game/world/World.java @@ -437,9 +437,11 @@ public class World implements Iterable { // Check if there are players in this world. if (this.getPlayerCount() == 0) return true; // Tick all associated scenes. - this.getScenes().forEach((k, scene) -> { - if (scene.getPlayerCount() > 0) scene.onTick(); - }); + this.getScenes() + .forEach( + (k, scene) -> { + if (scene.getPlayerCount() > 0) scene.onTick(); + }); // sync time every 10 seconds if (this.tickCount % 10 == 0) {