I love @Cobi
This commit is contained in:
parent
1551bf6f3a
commit
26be0566f4
@ -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 ) );
|
||||
|
Loading…
Reference in New Issue
Block a user