From 9c326fceda4634cb095508eb3d82d3ed3463063f Mon Sep 17 00:00:00 2001 From: Aikar Date: Sun, 3 May 2020 03:38:19 -0400 Subject: [PATCH] Nanothing to see here --- Spigot-Server-Patches/0384-Anti-Xray.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Spigot-Server-Patches/0384-Anti-Xray.patch b/Spigot-Server-Patches/0384-Anti-Xray.patch index 0c8fc3984b..e553b941eb 100644 --- a/Spigot-Server-Patches/0384-Anti-Xray.patch +++ b/Spigot-Server-Patches/0384-Anti-Xray.patch @@ -1,4 +1,4 @@ -From 320c3f9937a0e870f32f6b1dc3cf5480004a7692 Mon Sep 17 00:00:00 2001 +From 811e3b68dac83939ebea390ad4c6073380fa6753 Mon Sep 17 00:00:00 2001 From: stonar96 Date: Mon, 20 Aug 2018 03:03:58 +0200 Subject: [PATCH] Anti-Xray @@ -1377,13 +1377,13 @@ index 2c1d1b1a55..44aed67274 100644 if (this.h == this.b) { diff --git a/src/main/java/net/minecraft/server/NetworkManager.java b/src/main/java/net/minecraft/server/NetworkManager.java -index e966b6edcc..682434ec07 100644 +index 02a9f3d5fa..55441e1002 100644 --- a/src/main/java/net/minecraft/server/NetworkManager.java +++ b/src/main/java/net/minecraft/server/NetworkManager.java @@ -188,6 +188,11 @@ public class NetworkManager extends SimpleChannelInboundHandler> { public void sendPacket(Packet packet, @Nullable GenericFutureListener> genericfuturelistener) { - // Paper start start - handle oversized packets better + // Paper start - handle oversized packets better + // Special case keepalive, allow it to go out of queue order + if (packet instanceof PacketPlayOutKeepAlive && this.isConnected()) { + this.dispatchPacket(packet, genericfuturelistener);