Actually don't need name for IP packet

This commit is contained in:
md_5 2013-01-26 16:56:33 +11:00
parent bed67a90ef
commit b61758ca8e

View File

@ -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());