Don't catch any exceptions in the underlying decoder in ProtocolLib.
Dieser Commit ist enthalten in:
Ursprung
feae8dd400
Commit
20524c1c3c
@ -356,10 +356,10 @@ class ChannelInjector extends ByteToMessageDecoder {
|
||||
|
||||
@Override
|
||||
protected void decode(ChannelHandlerContext ctx, ByteBuf byteBuffer, List<Object> packets) throws Exception {
|
||||
try {
|
||||
byteBuffer.markReaderIndex();
|
||||
DECODE_BUFFER.invoke(vanillaDecoder, ctx, byteBuffer, packets);
|
||||
|
||||
byteBuffer.markReaderIndex();
|
||||
DECODE_BUFFER.invoke(vanillaDecoder, ctx, byteBuffer, packets);
|
||||
|
||||
try {
|
||||
if (packets.size() > 0) {
|
||||
Object input = packets.get(0);
|
||||
Class<?> packetClass = input.getClass();
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren