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; }