diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/net/minecraft/server/NetLoginHandler.java | 2 | ||||
-rw-r--r-- | src/main/java/net/minecraft/server/Packet2Handshake.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/NetLoginHandler.java b/src/main/java/net/minecraft/server/NetLoginHandler.java index 2532c754..fc4c8c66 100644 --- a/src/main/java/net/minecraft/server/NetLoginHandler.java +++ b/src/main/java/net/minecraft/server/NetLoginHandler.java @@ -61,7 +61,7 @@ public class NetLoginHandler extends NetHandler { public void a(Packet2Handshake packet2handshake) { // CraftBukkit start - this.hostname = packet2handshake.c == null ? "" : packet2handshake.c; + this.hostname = packet2handshake.c == null ? "" : packet2handshake.c + ':' + packet2handshake.d; // CraftBukkit end this.h = packet2handshake.f(); if (!this.h.equals(StripColor.a(this.h))) { diff --git a/src/main/java/net/minecraft/server/Packet2Handshake.java b/src/main/java/net/minecraft/server/Packet2Handshake.java index 81ce9c0f..435e7e0b 100644 --- a/src/main/java/net/minecraft/server/Packet2Handshake.java +++ b/src/main/java/net/minecraft/server/Packet2Handshake.java @@ -10,7 +10,7 @@ public class Packet2Handshake extends Packet { private int a; private String b; public String c; // CraftBukkit private -> public - private int d; + public int d; // CraftBukkit private -> public public Packet2Handshake() {} |