Please don't spam console every ping.

This commit is contained in:
md_5 2013-02-15 18:25:53 +11:00
parent 44e5fd627f
commit 5e025e3b9f

View file

@ -1,4 +1,4 @@
From de2471c4b58082edcbe6c7222446d1a5087f935f Mon Sep 17 00:00:00 2001 From 9e2340addda939c6025c98d09d1ce3ace1643352 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au> From: md_5 <md_5@live.com.au>
Date: Thu, 14 Feb 2013 17:32:20 +1100 Date: Thu, 14 Feb 2013 17:32:20 +1100
Subject: [PATCH] Netty Subject: [PATCH] Netty
@ -187,7 +187,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..90c63e1 index 0000000..027cc31
--- /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,206 @@ @@ -0,0 +1,206 @@
@ -346,7 +346,7 @@ index 0000000..90c63e1
+ } + }
+ +
+ // Disconnect via the handler - this performs all plugin related cleanup + logging + // Disconnect via the handler - this performs all plugin related cleanup + logging
+ if (!connected) { + if (!connected && (dcReason != null || dcArgs != null)) {
+ handler.a(dcReason, dcArgs); + handler.a(dcReason, dcArgs);
+ } + }
+ } + }