From 6a20b1da977e0865f2fb618b14380052ea817243 Mon Sep 17 00:00:00 2001 From: Permisos <55111245+PermisosDev@users.noreply.github.com> Date: Thu, 15 Apr 2021 14:12:43 -0300 Subject: [PATCH] Fix. --- ...necraftDecoder-if-ByteBuf-is-readabl.patch | 21 ------------------- 1 file changed, 21 deletions(-) delete mode 100644 0026-Skip-bytes-in-MinecraftDecoder-if-ByteBuf-is-readabl.patch diff --git a/0026-Skip-bytes-in-MinecraftDecoder-if-ByteBuf-is-readabl.patch b/0026-Skip-bytes-in-MinecraftDecoder-if-ByteBuf-is-readabl.patch deleted file mode 100644 index a5b6c94..0000000 --- a/0026-Skip-bytes-in-MinecraftDecoder-if-ByteBuf-is-readabl.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 47c853f657b01df7a8202cd2a17bb7bfc8f8bc7c Mon Sep 17 00:00:00 2001 -From: PermisosDev <55111245+PermisosDev@users.noreply.github.com> -Date: Thu, 15 Apr 2021 08:38:32 -0300 -Subject: [PATCH] Skip bytes in MinecraftDecoder if ByteBuf is readable. - - -diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/MinecraftDecoder.java b/protocol/src/main/java/net/md_5/bungee/protocol/MinecraftDecoder.java -index b3de7a7b..5d9be1ba 100644 ---- a/protocol/src/main/java/net/md_5/bungee/protocol/MinecraftDecoder.java -+++ b/protocol/src/main/java/net/md_5/bungee/protocol/MinecraftDecoder.java -@@ -83,6 +83,7 @@ public class MinecraftDecoder extends MessageToMessageDecoder - throw PACKET_NOT_READ_TO_END; - } - // Waterfall end -+ in.skipBytes(in.readableBytes()); // Flamecord - Skip bytes. - throw new BadPacketException( "Did not read all bytes from packet " + packet.getClass() + " " + packetId + " Protocol " + protocol + " Direction " + prot.getDirection() ); - } - } else --- -2.29.2.windows.3 -