I love @Cobi

This commit is contained in:
md_5 2013-10-12 15:29:39 +11:00
parent 1551bf6f3a
commit 26be0566f4

View File

@ -32,8 +32,11 @@ public class MinecraftDecoder extends ByteToMessageDecoder
if ( in.readableBytes() != 0 )
{
System.out.println( in.toString( Charsets.UTF_8 ) );
// throw new BadPacketException( "Did not read all bytes from packet " + packet.getClass() + " " + packetId + " Protocol " + protocol + " Direction " + prot );
// throw new BadPacketException( "Did not read all bytes from packet " + packet.getClass() + " " + packetId + " Protocol " + protocol + " Direction " + prot );
}
} else
{
in.skipBytes( in.readableBytes() );
}
out.add( new PacketWrapper( packet, copy ) );