mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 21:01:02 -05:00
Fix example code.
This commit is contained in:
parent
10561e879b
commit
6663b2e66f
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue