Remove unnecessary patch
This commit is contained in:
parent
11b53f20cf
commit
eb71958f5c
|
@ -1,28 +0,0 @@
|
|||
From cad30db92a21978282fda86eed2351308d6b05e2 Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
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 e34f0f1..146ab2e 100644
|
||||
--- a/src/main/java/net/minecraft/server/NetworkManager.java
|
||||
+++ b/src/main/java/net/minecraft/server/NetworkManager.java
|
||||
@@ -144,9 +144,10 @@ 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));
|
||||
}
|
||||
|
||||
--
|
||||
1.9.1
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
From c035fcfc6ef7cfa40c1d9dff75a10aeceb785ee4 Mon Sep 17 00:00:00 2001
|
||||
From 5b4cf49b42198e46038ba4f9a2e1c2ef2448ec76 Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Fri, 28 Nov 2014 13:20:22 -0600
|
||||
Subject: [PATCH] Only refresh abilities if needed
|
|
@ -1,4 +1,4 @@
|
|||
From dd7b5db563cfdbfb9be6651a9309afcf1d8f1cc6 Mon Sep 17 00:00:00 2001
|
||||
From 5b2eb900e278b76b5d0af2090c94b38268d53d6d Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Fri, 28 Nov 2014 13:43:11 -0600
|
||||
Subject: [PATCH] Player lookup improvements
|
|
@ -1,4 +1,4 @@
|
|||
From 1047923869dc8cfbb3ae4663d55032aadb53e932 Mon Sep 17 00:00:00 2001
|
||||
From 2647dbcf916a6057974c1d1c9829e4e9ef92c988 Mon Sep 17 00:00:00 2001
|
||||
From: gsand <gsandowns@gmail.com>
|
||||
Date: Fri, 28 Nov 2014 13:53:48 -0600
|
||||
Subject: [PATCH] Configurable game mechanics changes
|
|
@ -1,4 +1,4 @@
|
|||
From 50704068d790dafc8d9a67c1569a21f97f329bb5 Mon Sep 17 00:00:00 2001
|
||||
From db86ee788914fcad73bf309cd9f8bfc65f05d03e Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Thu, 6 Nov 2014 18:29:20 -0600
|
||||
Subject: [PATCH] Add async chunk load API
|
|
@ -1,4 +1,4 @@
|
|||
From 26fd68239de5e9c930d7f0e5ebbbc4e7a0c473f9 Mon Sep 17 00:00:00 2001
|
||||
From 62c665061563f8debb863ef56b76d0d9c0ed9cca Mon Sep 17 00:00:00 2001
|
||||
From: Byteflux <byte@byteflux.net>
|
||||
Date: Sat, 29 Nov 2014 23:05:52 -0800
|
||||
Subject: [PATCH] Configurable TNT water movement
|
|
@ -1,4 +1,4 @@
|
|||
From e8247725af871a8acef3db45c6ea71747d9e938f Mon Sep 17 00:00:00 2001
|
||||
From 87c9534ecac33e20a0e530adfa9e3c97b019e8f4 Mon Sep 17 00:00:00 2001
|
||||
From: Byteflux <byte@byteflux.net>
|
||||
Date: Sun, 30 Nov 2014 18:58:07 -0600
|
||||
Subject: [PATCH] Allow specified ItemStacks to retain their invalid data
|
|
@ -1,4 +1,4 @@
|
|||
From 7aa294e6e9b3972f9a0c84522312ca3944eb0a9f Mon Sep 17 00:00:00 2001
|
||||
From bb79ef26be9066a993bc21a81a53161e75596914 Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Sun, 30 Nov 2014 22:57:18 -0600
|
||||
Subject: [PATCH] Add TNT source location API
|
|
@ -1,4 +1,4 @@
|
|||
From 5524edc7e5c314b762f8f81aaaccdca084763fc8 Mon Sep 17 00:00:00 2001
|
||||
From 2b1b2245d21bb6791cd6c8371bc4d5849c9a5fdb Mon Sep 17 00:00:00 2001
|
||||
From: Zach Brown <Zbob750@live.com>
|
||||
Date: Fri, 5 Dec 2014 22:44:50 -0600
|
||||
Subject: [PATCH] Add a constructor for setting header and footer
|
Loading…
Reference in New Issue