diff --git a/server/netty/src/com/riiablo/server/netty/Client.java b/server/netty/src/com/riiablo/server/netty/Client.java index 5c80bdf9..aded8a9c 100644 --- a/server/netty/src/com/riiablo/server/netty/Client.java +++ b/server/netty/src/com/riiablo/server/netty/Client.java @@ -83,6 +83,7 @@ public class Client extends ApplicationAdapter { Connection.startConnection(builder); int dataOffset = Connection.endConnection(builder); int offset = Netty.createNetty(builder, NettyData.Connection, dataOffset); + Netty.finishNettyBuffer(builder, offset); ByteBuf byteBuf = Unpooled.wrappedBuffer(builder.dataBuffer()); ctx.writeAndFlush(byteBuf);