fixed message

This commit is contained in:
creeper123123321 2020-11-06 21:45:42 -03:00
parent 5416077d28
commit ca98d8215f

View File

@ -152,7 +152,7 @@ class HandshakeState : MinecraftConnectionState {
bootstrap.addListener { bootstrap.addListener {
if (it.isSuccess) { if (it.isSuccess) {
CloudHeadProtocol.logger.info("Connected ${frontHandler} to $socketAddr") CloudHeadProtocol.logger.info("Connected ${frontHandler.address} -> $socketAddr")
val backChan = bootstrap.channel() as SocketChannel val backChan = bootstrap.channel() as SocketChannel
backChan.pipeline().get(CloudMinecraftHandler::class.java).other = handler.user.channel backChan.pipeline().get(CloudMinecraftHandler::class.java).other = handler.user.channel