Merge branch 'fixTestarenaEventarenaExceptions' of SteamWar/FightSystem into master
Dieser Commit ist enthalten in:
Commit
d02ede97e0
@ -114,6 +114,12 @@ public class Fight {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void calcAvailibleSchemTypes() {
|
public static void calcAvailibleSchemTypes() {
|
||||||
|
if(redTeam.getLeader() == null || redTeam.getLeader().getPlayer() == null ||
|
||||||
|
blueTeam.getLeader() == null || blueTeam.getLeader().getPlayer() == null){
|
||||||
|
onlyPublicSchems = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
onlyPublicSchems = (Schematic.getSchemsOfType(redTeam.getLeader().getPlayer().getUniqueId(), Config.SchematicType).isEmpty() ||
|
onlyPublicSchems = (Schematic.getSchemsOfType(redTeam.getLeader().getPlayer().getUniqueId(), Config.SchematicType).isEmpty() ||
|
||||||
Schematic.getSchemsOfType(blueTeam.getLeader().getPlayer().getUniqueId(), Config.SchematicType).isEmpty());
|
Schematic.getSchemsOfType(blueTeam.getLeader().getPlayer().getUniqueId(), Config.SchematicType).isEmpty());
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren