geforkt von SteamWar/BungeeCore
Fix NPE
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
ddcb5e652e
Commit
ec74034c0b
@ -46,7 +46,7 @@ public class ArenaCommand extends BasicCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Subserver subserver = Subserver.getSubserver(server);
|
Subserver subserver = Subserver.getSubserver(server);
|
||||||
if(subserver.getType() != Servertype.ARENA) {
|
if(subserver == null || subserver.getType() != Servertype.ARENA) {
|
||||||
Message.send("ARENA_NOT_FOUND", player);
|
Message.send("ARENA_NOT_FOUND", player);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren