SteamWar/BungeeCore
Archiviert
13
2

now currentServer != null

Dieser Commit ist enthalten in:
Zeanon 2021-05-18 19:31:49 +02:00
Ursprung c0366c4daa
Commit d1cb167039

Datei anzeigen

@ -221,7 +221,7 @@ public class BauCommand {
if(toRemove != null){
Message.send("BAU_DELMEMBER_DELETED_TARGET", toRemove, p.getName());
Subserver currentServer = Subserver.getSubserver(toRemove.getServer().getInfo());
if (currentServer.getType() == Servertype.BAUSERVER && ((Bauserver) currentServer).getOwner().equals(p.getUniqueId())) {
if (currentServer != null && currentServer.getType() == Servertype.BAUSERVER && ((Bauserver) currentServer).getOwner().equals(p.getUniqueId())) {
toRemove.connect(ProxyServer.getInstance().getServerInfo(BungeeCore.LOBBY_SERVER));
}
}