diff --git a/FightSystem_API/src/de/steamwar/fightsystem/Config.java b/FightSystem_API/src/de/steamwar/fightsystem/Config.java index 873e280..55b4e2e 100644 --- a/FightSystem_API/src/de/steamwar/fightsystem/Config.java +++ b/FightSystem_API/src/de/steamwar/fightsystem/Config.java @@ -277,11 +277,13 @@ public class Config { IFightSystem.setEventFight(eventFight); Event event = Event.get(eventFight.getEventID()); - MaximumTeamMembers = event.getMaximumTeamMembers(); - if(BothTeamsPublic) + if(BothTeamsPublic) { OnlyPublicSchematics = true; - else + MaximumTeamMembers = Integer.MAX_VALUE; + }else{ OnlyPublicSchematics = event.publicSchemsOnly(); + MaximumTeamMembers = event.getMaximumTeamMembers(); + } }else{ //No event TeamRedName = config.getString("Output.TeamRedName"); diff --git a/fightsystem.iml b/fightsystem.iml deleted file mode 100644 index d2293ab..0000000 --- a/fightsystem.iml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file