I love @Cobi

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

View File

@ -34,6 +34,9 @@ public class MinecraftDecoder extends ByteToMessageDecoder
System.out.println( in.toString( Charsets.UTF_8 ) ); 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 ) ); out.add( new PacketWrapper( packet, copy ) );