SteamWar/FightSystem
Archiviert
13
1

Update Config #352

Zusammengeführt
Lixfel hat 6 Commits von FixMissiles nach master 2022-06-07 15:24:10 +02:00 zusammengeführt
2 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
Nur Änderungen aus Commit e49215d921 werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -46,8 +46,7 @@ Arena:
# Allow leaving the arena area as spectator # Allow leaving the arena area as spectator
Leaveable: false # defaults to false if missing Leaveable: false # defaults to false if missing
# Allow missiles to fly to the enemy and not stop at the schem border. # Allow missiles to fly to the enemy and not stop at the schem border.
# This overrides the 'EnterStages' setting if present otherwise if any 'EnterStages' are present this defaults to 'true'. AllowMissiles: false # defaults to true if a 'EnterStages' is present otherwise 'false'
AllowMissiles: false # defaults to false if missing
Schematic: Schematic:
# The size of the schematics # The size of the schematics

Datei anzeigen

@ -195,7 +195,7 @@ public class Config {
PercentBlocks = Collections.unmodifiableSet(config.getStringList("WinConditionParams.Blocks").stream().map(Material::valueOf).collect(Collectors.toSet())); PercentBlocks = Collections.unmodifiableSet(config.getStringList("WinConditionParams.Blocks").stream().map(Material::valueOf).collect(Collectors.toSet()));
EnterStages = Collections.unmodifiableList(config.getIntegerList("EnterStages")); EnterStages = Collections.unmodifiableList(config.getIntegerList("EnterStages"));
AllowMissiles = config.getBoolean("Arena.AllowMissiles", EnterStages.isEmpty()); AllowMissiles = config.getBoolean("Arena.AllowMissiles", !EnterStages.isEmpty());
KitFile = config.getString("Kits.File", "kits.yml"); KitFile = config.getString("Kits.File", "kits.yml");
MemberDefault = config.getString("Kits.MemberDefault", "default"); MemberDefault = config.getString("Kits.MemberDefault", "default");