From 47172c995fab0e02993958dcf8cbbc57961cbbcf Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 16 Jun 2023 18:05:28 +0000 Subject: [PATCH] Format code [skip actions] --- src/main/java/emu/grasscutter/game/world/World.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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) {