From b85f9192380200028b6bab5552ee551bd2e8f198 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sat, 22 Aug 2020 13:37:57 -0400 Subject: [PATCH] Fix try list giving up after the first server (for 1.0.x). --- .../proxy/connection/client/ConnectedPlayer.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 3c9a5cae4..e15fd16e8 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 @@ -448,9 +448,7 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player { createConnectionRequest(res.getServer()) .connectWithIndication() .whenCompleteAsync((newResult, exception) -> { - if (newResult == null || !newResult) { - disconnect(friendlyReason); - } else { + if (newResult != null && newResult) { sendMessage(VelocityMessages.MOVED_TO_NEW_SERVER); } }, minecraftConnection.eventLoop());