diff options
-rw-r--r-- | src/main/java/net/minecraft/server/PendingConnection.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/PendingConnection.java b/src/main/java/net/minecraft/server/PendingConnection.java index 1bb77a9b..2a96168e 100644 --- a/src/main/java/net/minecraft/server/PendingConnection.java +++ b/src/main/java/net/minecraft/server/PendingConnection.java @@ -65,6 +65,7 @@ public class PendingConnection extends Connection { if (this.g != null) { this.disconnect("Quit repeating yourself!"); } else { + this.hostname = packet2handshake.c + ':' + packet2handshake.d; // CraftBukkit - initialize field this.g = packet2handshake.f(); if (!this.g.equals(StripColor.a(this.g))) { this.disconnect("Invalid username!"); |