Format code [skip actions]

This commit is contained in:
github-actions 2023-06-16 18:05:28 +00:00
parent 6da5343df0
commit 47172c995f

View File

@ -437,7 +437,9 @@ public class World implements Iterable<Player> {
// Check if there are players in this world.
if (this.getPlayerCount() == 0) return true;
// Tick all associated scenes.
this.getScenes().forEach((k, scene) -> {
this.getScenes()
.forEach(
(k, scene) -> {
if (scene.getPlayerCount() > 0) scene.onTick();
});