Fix missing assignment of playerKey in ServerLogin constructor (#776)

This commit is contained in:
Gero
2022-06-26 14:24:20 +02:00
committed by GitHub
parent c03d7e259c
commit e8bf6ab522

View File

@@ -40,6 +40,7 @@ public class ServerLogin implements MinecraftPacket {
public ServerLogin(String username, @Nullable IdentifiedKey playerKey) {
this.username = Preconditions.checkNotNull(username, "username");
this.playerKey = playerKey;
}
public String getUsername() {