Actually don't need name for IP packet
This commit is contained in:
@@ -419,7 +419,6 @@ public class UserConnection extends GenericConnection implements ProxiedPlayer
|
|||||||
ByteArrayOutputStream b = new ByteArrayOutputStream();
|
ByteArrayOutputStream b = new ByteArrayOutputStream();
|
||||||
DataOutputStream out = new DataOutputStream(b);
|
DataOutputStream out = new DataOutputStream(b);
|
||||||
out.writeUTF("IP");
|
out.writeUTF("IP");
|
||||||
out.writeUTF(name);
|
|
||||||
out.writeUTF(getAddress().getHostString());
|
out.writeUTF(getAddress().getHostString());
|
||||||
out.writeInt(getAddress().getPort());
|
out.writeInt(getAddress().getPort());
|
||||||
getServer().sendData("BungeeCord", b.toByteArray());
|
getServer().sendData("BungeeCord", b.toByteArray());
|
||||||
|
Reference in New Issue
Block a user