mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-22 00:47:38 +01:00
Please don't spam console every ping.
This commit is contained in:
parent
44e5fd627f
commit
5e025e3b9f
@ -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>
|
||||
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);
|
||||
+ }
|
||||
+ }
|
||||
|
Loading…
Reference in New Issue
Block a user