geforkt von SteamWar/BungeeCore
rework in persistent bungeecore for said issue
Dieser Commit ist enthalten in:
Ursprung
ac08d7390b
Commit
83bcdd34bf
@ -221,8 +221,7 @@ public class BauCommand {
|
||||
ProxiedPlayer z = ProxyServer.getInstance().getPlayer(SteamwarUser.get(target.getMemberID()).getUuid());
|
||||
if(z != null){
|
||||
Message.send("BAU_DELMEMBER_DELETED_TARGET", z, p.getName());
|
||||
Collection<Subserver> servers = Subserver.getAllServers(z);
|
||||
if (!servers.isEmpty() && servers.stream().filter(server -> server.getType() == Servertype.BAUSERVER).anyMatch(server -> ((Bauserver) server).getOwner().equals(p.getUniqueId()))) {
|
||||
if (Subserver.getServerList().stream().filter(server -> server.onServer(p) && server.getType() == Servertype.BAUSERVER).anyMatch(server -> ((Bauserver) server).getOwner().equals(p.getUniqueId()))) {
|
||||
z.connect(ProxyServer.getInstance().getServerInfo(BungeeCore.LOBBY_SERVER));
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren