mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-30 14:13:47 +01:00
Actually don't need name for IP packet
This commit is contained in:
parent
bed67a90ef
commit
b61758ca8e
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user