From 5c605df926529e40a3ad202dd938dca3d27c7710 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 26 Jun 2022 16:23:08 +0200 Subject: [PATCH] Fix TpCommand again --- src/de/steamwar/bungeecore/commands/TpCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/TpCommand.java b/src/de/steamwar/bungeecore/commands/TpCommand.java index e247e22..d2e7a1f 100644 --- a/src/de/steamwar/bungeecore/commands/TpCommand.java +++ b/src/de/steamwar/bungeecore/commands/TpCommand.java @@ -59,7 +59,7 @@ public class TpCommand extends BasicCommand { return; } //Give control of teleport command to server - if (server == player.getReconnectServer()) { + if (server == player.getServer().getInfo()) { Chat19.chat(player, "/tp " + String.join(" ", args)); return; }