From bebf5cdebb1581477fbdca730c37b44c6c39ac5f Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Mon, 12 Oct 2020 13:06:11 +0200 Subject: [PATCH] Fixing Joining World --- src/de/steamwar/bungeecore/listeners/mods/Fabric.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/de/steamwar/bungeecore/listeners/mods/Fabric.java b/src/de/steamwar/bungeecore/listeners/mods/Fabric.java index f03aa5d..1d89c30 100644 --- a/src/de/steamwar/bungeecore/listeners/mods/Fabric.java +++ b/src/de/steamwar/bungeecore/listeners/mods/Fabric.java @@ -59,8 +59,7 @@ public class Fabric extends BasicListener { if(Subserver.getSubserver(event.getPlayer()) != null && Subserver.getSubserver(event.getPlayer()).getType() == Servertype.ARENA && Storage.fabricPlayers.contains(event.getPlayer())) { - if(Subserver.getSubserver(event.getFrom()) != null && Subserver.getSubserver(event.getFrom()).getType() == Servertype.BAUSERVER) event.getPlayer().connect(BungeeCore.get().getProxy().getServerInfo(BungeeCore.LOBBY_SERVER)); - else event.getPlayer().connect(event.getFrom()); + event.getPlayer().connect(BungeeCore.get().getProxy().getServerInfo(BungeeCore.LOBBY_SERVER)); BungeeCore.send(event.getPlayer(), BungeeCore.CHAT_PREFIX + "§cDu kannst nicht auf die Arena mit Fabric"); } }