mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
*break when dc'd
By: md_5 <md_5@live.com.au>
This commit is contained in:
parent
beb405de3d
commit
b91a5519b8
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
From c5070a0077eb84a0f287c72dfe48565a380ed779 Mon Sep 17 00:00:00 2001
|
||||
From ea8906370c4d5a459abe66dc442fbde9bcaf3cf1 Mon Sep 17 00:00:00 2001
|
||||
From: md_5 <md_5@live.com.au>
|
||||
Date: Sun, 3 Feb 2013 10:24:33 +1100
|
||||
Subject: [PATCH] Netty
|
||||
|
@ -176,7 +176,7 @@ index 0000000..cfc0535
|
|||
+}
|
||||
diff --git a/src/main/java/org/spigotmc/netty/NettyNetworkManager.java b/src/main/java/org/spigotmc/netty/NettyNetworkManager.java
|
||||
new file mode 100644
|
||||
index 0000000..47d7676
|
||||
index 0000000..a16e343
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/org/spigotmc/netty/NettyNetworkManager.java
|
||||
@@ -0,0 +1,203 @@
|
||||
|
@ -326,7 +326,7 @@ index 0000000..47d7676
|
|||
+ public void b() {
|
||||
+ for (int i = 1000; !syncPackets.isEmpty() && i >= 0; i--) {
|
||||
+ if (handler instanceof PendingConnection ? ((PendingConnection) handler).c : ((PlayerConnection) handler).disconnected) {
|
||||
+ continue;
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
+ syncPackets.poll().handle(handler);
|
||||
|
|
Loading…
Reference in a new issue