diff --git a/example/com/github/steveice10/mc/protocol/test/MinecraftProtocolTest.java b/example/com/github/steveice10/mc/protocol/test/MinecraftProtocolTest.java index a91b884e..0f8c90c9 100644 --- a/example/com/github/steveice10/mc/protocol/test/MinecraftProtocolTest.java +++ b/example/com/github/steveice10/mc/protocol/test/MinecraftProtocolTest.java @@ -68,7 +68,7 @@ public class MinecraftProtocolTest { server.setGlobalFlag(MinecraftConstants.SERVER_LOGIN_HANDLER_KEY, new ServerLoginHandler() { @Override public void loggedIn(Session session) { - session.send(new ServerJoinGamePacket(0, false, GameMode.SURVIVAL, 0, 100, WorldType.DEFAULT, 16, false)); + session.send(new ServerJoinGamePacket(0, false, GameMode.SURVIVAL, 0, 0, 100, WorldType.DEFAULT, 16, false, true)); } });