Reduce border

This commit is contained in:
Mathieu Strypsteen 2024-09-23 17:37:01 +02:00
parent 2b963c6fd4
commit 6c2d1f7c92

View file

@ -49,12 +49,12 @@ public class GameStateUtil {
if (gameState == GameState.ACTIVE) {
world.setDifficulty(Difficulty.NORMAL);
world.setGameRule(GameRule.DO_DAYLIGHT_CYCLE, true);
world.getWorldBorder().setSize(10000);
world.getWorldBorder().setSize(5000);
}
if (gameState == GameState.PAUSED) {
world.setDifficulty(Difficulty.NORMAL);
world.setGameRule(GameRule.DO_DAYLIGHT_CYCLE, false);
world.getWorldBorder().setSize(10000);
world.getWorldBorder().setSize(5000);
}
}