thank you brigadier very cool

This commit is contained in:
Leijurv 2019-07-23 21:38:42 -07:00
parent 8a5cc5b17d
commit 6bee5828a0
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ public class BaritoneAutoTest implements AbstractGameEventListener, Helper {
// to our defined starting position
if (server != null && server.getWorld(DimensionType.OVERWORLD) != null) {
server.getWorld(DimensionType.OVERWORLD).setSpawnPoint(STARTING_POSITION);
server.getCommandManager().handleCommand(server.getCommandSource(), "/difficulty 0");
server.getCommandManager().handleCommand(server.getCommandSource(), "/difficulty peaceful");
int result = server.getCommandManager().handleCommand(server.getCommandSource(), "/gamerule spawnRadius 0");
if (result != 0) {
throw new IllegalStateException(result + "");