Re-add dropped keep alive disconnect
Should fix the terminal spam
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From b215862783231105934553ef2bcbff6842ffc270 Mon Sep 17 00:00:00 2001
|
||||
From 656a998539570c42454901792d293db9d564a39f Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Sun, 26 Nov 2017 13:19:58 -0500
|
||||
Subject: [PATCH] AsyncTabCompleteEvent
|
||||
@@ -14,10 +14,10 @@ completion, such as offline players.
|
||||
Also adds isCommand and getLocation to the sync TabCompleteEvent
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
index 766918e8c..c6a44c5f2 100644
|
||||
index 43d760bed..49dd552e1 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
@@ -519,10 +519,10 @@ public class PlayerConnection implements PacketListenerPlayIn {
|
||||
@@ -520,10 +520,10 @@ public class PlayerConnection implements PacketListenerPlayIn {
|
||||
|
||||
@Override
|
||||
public void a(PacketPlayInTabComplete packetplayintabcomplete) {
|
||||
@@ -30,7 +30,7 @@ index 766918e8c..c6a44c5f2 100644
|
||||
return;
|
||||
}
|
||||
// CraftBukkit end
|
||||
@@ -532,12 +532,35 @@ public class PlayerConnection implements PacketListenerPlayIn {
|
||||
@@ -533,12 +533,35 @@ public class PlayerConnection implements PacketListenerPlayIn {
|
||||
stringreader.skip();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user