From f920086bbd80914a687f34bd66539121c8d71203 Mon Sep 17 00:00:00 2001 From: Zach Brown <1254957+zachbr@users.noreply.github.com> Date: Sun, 14 Dec 2014 16:26:48 -0600 Subject: [PATCH] Remove unnecessary patch --- ...rove-Network-Manager-packet-handling.patch | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 Spigot-Server-Patches/Improve-Network-Manager-packet-handling.patch diff --git a/Spigot-Server-Patches/Improve-Network-Manager-packet-handling.patch b/Spigot-Server-Patches/Improve-Network-Manager-packet-handling.patch deleted file mode 100644 index 55e949d6bc..0000000000 --- a/Spigot-Server-Patches/Improve-Network-Manager-packet-handling.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Aikar -Date: Fri, 28 Nov 2014 13:12:00 -0600 -Subject: [PATCH] Improve Network Manager packet handling - -Removes an unnecessary "peek at head of queue" - -diff --git a/src/main/java/net/minecraft/server/NetworkManager.java b/src/main/java/net/minecraft/server/NetworkManager.java -index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 ---- a/src/main/java/net/minecraft/server/NetworkManager.java -+++ b/src/main/java/net/minecraft/server/NetworkManager.java -@@ -0,0 +0,0 @@ public class NetworkManager extends SimpleChannelInboundHandler { - - private void m() { - if (this.i != null && this.i.isOpen()) { -- while (!this.h.isEmpty()) { -- QueuedPacket queuedpacket = (QueuedPacket) this.h.poll(); -- -+ // PaperSpigot start - Improve Network Manager packet handling -+ QueuedPacket queuedpacket; -+ while ((queuedpacket = (QueuedPacket) this.h.poll()) != null) { -+ // PaperSpigot end - this.a(QueuedPacket.a(queuedpacket), QueuedPacket.b(queuedpacket)); - } - --- \ No newline at end of file