Reduce border
This commit is contained in:
parent
2b963c6fd4
commit
6c2d1f7c92
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue