geforkt von Mirrors/Paper
Restore port to the hostname. Fixes BUKKIT-2124
Dieser Commit ist enthalten in:
Ursprung
24809ef986
Commit
25fe93479f
@ -61,7 +61,7 @@ public class NetLoginHandler extends NetHandler {
|
|||||||
|
|
||||||
public void a(Packet2Handshake packet2handshake) {
|
public void a(Packet2Handshake packet2handshake) {
|
||||||
// CraftBukkit start
|
// CraftBukkit start
|
||||||
this.hostname = packet2handshake.c == null ? "" : packet2handshake.c;
|
this.hostname = packet2handshake.c == null ? "" : packet2handshake.c + ':' + packet2handshake.d;
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
this.h = packet2handshake.f();
|
this.h = packet2handshake.f();
|
||||||
if (!this.h.equals(StripColor.a(this.h))) {
|
if (!this.h.equals(StripColor.a(this.h))) {
|
||||||
|
@ -10,7 +10,7 @@ public class Packet2Handshake extends Packet {
|
|||||||
private int a;
|
private int a;
|
||||||
private String b;
|
private String b;
|
||||||
public String c; // CraftBukkit private -> public
|
public String c; // CraftBukkit private -> public
|
||||||
private int d;
|
public int d; // CraftBukkit private -> public
|
||||||
|
|
||||||
public Packet2Handshake() {}
|
public Packet2Handshake() {}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren