Archiviert
1
0

rework in persistent bungeecore for said issue

Dieser Commit ist enthalten in:
Zeanon 2021-05-18 18:08:25 +02:00
Ursprung ac08d7390b
Commit 83bcdd34bf

Datei anzeigen

@ -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));
}
}