summaryrefslogtreecommitdiffstats
path: root/nms-patches/HandshakeListener.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/HandshakeListener.patch')
-rw-r--r--nms-patches/HandshakeListener.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/HandshakeListener.patch b/nms-patches/HandshakeListener.patch
index 67106fb4..a30ece5b 100644
--- a/nms-patches/HandshakeListener.patch
+++ b/nms-patches/HandshakeListener.patch
@@ -64,7 +64,7 @@
this.b.close(chatcomponenttext);
} else {
this.b.a((PacketListener) (new LoginListener(this.a, this.b)));
-+ ((LoginListener) this.b.getPacketListener()).hostname = packethandshakinginsetprotocol.b + ":" + packethandshakinginsetprotocol.c; // CraftBukkit - set hostname
++ ((LoginListener) this.b.getPacketListener()).hostname = packethandshakinginsetprotocol.hostname + ":" + packethandshakinginsetprotocol.port; // CraftBukkit - set hostname
}
break;