mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 13:24:17 -07:00
Restore port to the hostname. Fixes BUKKIT-2124
This commit is contained in:
@@ -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))) {
|
||||
|
Reference in New Issue
Block a user