Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- InetSocketAddress isa = (InetSocketAddress) ((EntityClientPlayerMP) mc.thePlayer).sendQueue.netManager.remoteSocketAddress;
- String hostname = isa.getHostString();
- int ip = isa.getPort();
Advertisement
Add Comment
Please, Sign In to add comment