*break when dc'd
Dieser Commit ist enthalten in:
Ursprung
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>
|
From: md_5 <md_5@live.com.au>
|
||||||
Date: Sun, 3 Feb 2013 10:24:33 +1100
|
Date: Sun, 3 Feb 2013 10:24:33 +1100
|
||||||
Subject: [PATCH] Netty
|
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
|
diff --git a/src/main/java/org/spigotmc/netty/NettyNetworkManager.java b/src/main/java/org/spigotmc/netty/NettyNetworkManager.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000..47d7676
|
index 0000000..a16e343
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/org/spigotmc/netty/NettyNetworkManager.java
|
+++ b/src/main/java/org/spigotmc/netty/NettyNetworkManager.java
|
||||||
@@ -0,0 +1,203 @@
|
@@ -0,0 +1,203 @@
|
||||||
@ -326,7 +326,7 @@ index 0000000..47d7676
|
|||||||
+ public void b() {
|
+ public void b() {
|
||||||
+ for (int i = 1000; !syncPackets.isEmpty() && i >= 0; i--) {
|
+ for (int i = 1000; !syncPackets.isEmpty() && i >= 0; i--) {
|
||||||
+ if (handler instanceof PendingConnection ? ((PendingConnection) handler).c : ((PlayerConnection) handler).disconnected) {
|
+ if (handler instanceof PendingConnection ? ((PendingConnection) handler).c : ((PlayerConnection) handler).disconnected) {
|
||||||
+ continue;
|
+ break;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ syncPackets.poll().handle(handler);
|
+ syncPackets.poll().handle(handler);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren