From 1b61ba93e9aa881405f4064e530666b7249e49ae Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sat, 28 May 2022 13:12:31 +0200 Subject: [PATCH] Fix TeamCommand tp no message --- src/de/steamwar/bungeecore/commands/TeamCommand.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/de/steamwar/bungeecore/commands/TeamCommand.java b/src/de/steamwar/bungeecore/commands/TeamCommand.java index 73bf19d..910243a 100644 --- a/src/de/steamwar/bungeecore/commands/TeamCommand.java +++ b/src/de/steamwar/bungeecore/commands/TeamCommand.java @@ -588,6 +588,9 @@ public class TeamCommand extends BasicCommand { return info; }); player.connect(serverInfo, (success, error) -> { + if (error != null) { + error.printStackTrace(); + } if (error instanceof ConnectTimeoutException) { Message.send("TEAM_TIMEOUT", player); }