Fix login queue.

This commit is contained in:
Major-
2015-08-30 21:20:24 +01:00
parent ca36264b35
commit ec95fe9d61
5 changed files with 110 additions and 76 deletions
@@ -213,8 +213,6 @@ public final class LoginDecoder extends StatefulFrameDecoder<LoginDecoderState>
private void writeResponseCode(ChannelHandlerContext ctx, int response) {
ByteBuf buffer = ctx.alloc().buffer(Byte.BYTES);
buffer.writeByte(response);
System.out.println("Sending response: " + response);
ctx.writeAndFlush(buffer).addListener(ChannelFutureListener.CLOSE);
}