Skip to content

Commit

Permalink
Add gamerule "codebuilder":"false" to disable MCEE code builder.
Browse files Browse the repository at this point in the history
  • Loading branch information
bundabrg committed May 16, 2020
1 parent e404cb2 commit a362f22
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ private void startGame() {
startGamePacket.setMultiplayerGame(true);
startGamePacket.setBroadcastingToLan(true);
startGamePacket.getGamerules().add(new GameRuleData<>("showcoordinates", true));
startGamePacket.getGamerules().add(new GameRuleData<>("codebuilder", false));
startGamePacket.setPlatformBroadcastMode(GamePublishSetting.PUBLIC);
startGamePacket.setXblBroadcastMode(GamePublishSetting.PUBLIC);
startGamePacket.setCommandsEnabled(true);
Expand Down

0 comments on commit a362f22

Please sign in to comment.