Fix missing assignment of playerKey in ServerLogin constructor (#776)
This commit is contained in:
@@ -40,6 +40,7 @@ public class ServerLogin implements MinecraftPacket {
|
|||||||
|
|
||||||
public ServerLogin(String username, @Nullable IdentifiedKey playerKey) {
|
public ServerLogin(String username, @Nullable IdentifiedKey playerKey) {
|
||||||
this.username = Preconditions.checkNotNull(username, "username");
|
this.username = Preconditions.checkNotNull(username, "username");
|
||||||
|
this.playerKey = playerKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getUsername() {
|
public String getUsername() {
|
||||||
|
Reference in New Issue
Block a user