Merge pull request 'Fixed Fabric' (#128) from fixed-fabric into master
Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Commit
1184da566e
@ -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