*break when dc'd
This commit is contained in:
parent
3e21bba4ee
commit
0dd4f55fd9
|
@ -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 New Issue