Minor cleanup

This commit is contained in:
P0nk
2021-07-17 11:24:11 +02:00
parent 6e6fbf3be7
commit ab03dd3109
2 changed files with 9 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ public class ChannelServerInitializer extends ServerChannelInitializer {
@Override
public void initChannel(SocketChannel socketChannel) {
final String clientIp = socketChannel.remoteAddress().getHostName();
final String clientIp = socketChannel.remoteAddress().getHostString();
log.debug("Client connecting to world {}, channel {} from {}", world, channel, clientIp);
PacketProcessor packetProcessor = PacketProcessor.getChannelServerProcessor(world, channel);