geforkt von SteamWar/BungeeCore
me stupid
Dieser Commit ist enthalten in:
Ursprung
d1b901be69
Commit
41a8ea316f
@ -221,7 +221,7 @@ public class BauCommand {
|
|||||||
ProxiedPlayer z = ProxyServer.getInstance().getPlayer(SteamwarUser.get(target.getMemberID()).getUuid());
|
ProxiedPlayer z = ProxyServer.getInstance().getPlayer(SteamwarUser.get(target.getMemberID()).getUuid());
|
||||||
if(z != null){
|
if(z != null){
|
||||||
Message.send("BAU_DELMEMBER_DELETED_TARGET", z, p.getName());
|
Message.send("BAU_DELMEMBER_DELETED_TARGET", z, p.getName());
|
||||||
if (Subserver.getServerList().stream().anyMatch(server -> server.onServer(p) && server.getType() == Servertype.BAUSERVER && ((Bauserver) server).getOwner().equals(p.getUniqueId()))) {
|
if (Subserver.getServerList().stream().anyMatch(server -> server.onServer(z) && server.getType() == Servertype.BAUSERVER && ((Bauserver) server).getOwner().equals(p.getUniqueId()))) {
|
||||||
z.connect(ProxyServer.getInstance().getServerInfo(BungeeCore.LOBBY_SERVER));
|
z.connect(ProxyServer.getInstance().getServerInfo(BungeeCore.LOBBY_SERVER));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren