From 108996fc1fd4a4000ba2dd67eef993034caafc77 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Tue, 4 Sep 2018 01:13:06 -0400 Subject: [PATCH] Missed this --- .../proxy/connection/client/ConnectedPlayer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java b/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java index 526578704..f418854a5 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java @@ -241,6 +241,8 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player { connection.closeWith(Disconnect.create(friendlyReason)); } }, connection.getChannel().eventLoop()); + } else { + connection.closeWith(Disconnect.create(friendlyReason)); } } else { connection.write(Chat.create(friendlyReason));