Fix building

This commit is contained in:
D3ATHBRINGER13 2022-05-19 20:01:31 +01:00
parent 29c230f71d
commit 6d09b95665

View file

@ -125,7 +125,7 @@ public class ClientListener extends SessionAdapter {
if (this.targetState == ProtocolState.LOGIN) {
GameProfile profile = session.getFlag(MinecraftConstants.PROFILE_KEY);
session.send(new ServerboundHelloPacket(profile.getName()));
session.send(new ServerboundHelloPacket(profile.getName(), null, null, null));
} else {
session.send(new ServerboundStatusRequestPacket());
}