From 15cce53adf25a6c6ffb643da6a1fd718108e502a Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Thu, 16 Mar 2023 02:14:22 -0400 Subject: [PATCH] Revert "Handle exceptions in ConnectionRequestBuilderImpl#fireAndForget (#875)" (#978) This reverts commit b4e04204a992af41be904470c917ee9d41626130. --- .../proxy/connection/client/ConnectedPlayer.java | 5 +---- 1 file changed, 1 insertion(+), 4 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 3d9d69aef..61a2b5565 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 @@ -1244,10 +1244,7 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player, @Override public void fireAndForget() { - connectWithIndication().exceptionally((ex) -> { - logger.error("Exception while connecting with indication", ex); - return null; - }); + connectWithIndication(); } } }