From 5e025e3b9fcf82571efcf7d04fea716b5716105d Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 15 Feb 2013 18:25:53 +1100 Subject: [PATCH] Please don't spam console every ping. --- CraftBukkit-Patches/0026-Netty.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CraftBukkit-Patches/0026-Netty.patch b/CraftBukkit-Patches/0026-Netty.patch index 5ceceb8af..9d461fc84 100644 --- a/CraftBukkit-Patches/0026-Netty.patch +++ b/CraftBukkit-Patches/0026-Netty.patch @@ -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 Date: Thu, 14 Feb 2013 17:32:20 +1100 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 new file mode 100644 -index 0000000..90c63e1 +index 0000000..027cc31 --- /dev/null +++ b/src/main/java/org/spigotmc/netty/NettyNetworkManager.java @@ -0,0 +1,206 @@ @@ -346,7 +346,7 @@ index 0000000..90c63e1 + } + + // Disconnect via the handler - this performs all plugin related cleanup + logging -+ if (!connected) { ++ if (!connected && (dcReason != null || dcArgs != null)) { + handler.a(dcReason, dcArgs); + } + }