Fixed Bugs when coming from Bauserver
Dieser Commit ist enthalten in:
Ursprung
f99c4580ce
Commit
780ecb41d4
@ -59,7 +59,8 @@ public class Fabric extends BasicListener {
|
||||
if(Subserver.getSubserver(event.getPlayer()) != null
|
||||
&& Subserver.getSubserver(event.getPlayer()).getType() == Servertype.ARENA
|
||||
&& Storage.fabricPlayers.contains(event.getPlayer())) {
|
||||
event.getPlayer().connect(event.getFrom());
|
||||
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());
|
||||
BungeeCore.send(event.getPlayer(), BungeeCore.CHAT_PREFIX + "§cDu kannst nicht auf die Arena mit Fabric");
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren