*break when dc'd

By: md_5 <md_5@live.com.au>
This commit is contained in:
Spigot 2013-02-09 23:00:03 +11:00
parent beb405de3d
commit b91a5519b8

View file

@ -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);