Fixing Joining World #129
@ -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");
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren