mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-25 03:53:00 +08:00
Format code [skip actions]
This commit is contained in:
parent
6da5343df0
commit
47172c995f
@ -437,7 +437,9 @@ public class World implements Iterable<Player> {
|
|||||||
// Check if there are players in this world.
|
// Check if there are players in this world.
|
||||||
if (this.getPlayerCount() == 0) return true;
|
if (this.getPlayerCount() == 0) return true;
|
||||||
// Tick all associated scenes.
|
// Tick all associated scenes.
|
||||||
this.getScenes().forEach((k, scene) -> {
|
this.getScenes()
|
||||||
|
.forEach(
|
||||||
|
(k, scene) -> {
|
||||||
if (scene.getPlayerCount() > 0) scene.onTick();
|
if (scene.getPlayerCount() > 0) scene.onTick();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user