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