diff --git a/FightSystem/FightSystem_Core/src/config.yml b/FightSystem/FightSystem_Core/src/config.yml index 81620820..a080d253 100644 --- a/FightSystem/FightSystem_Core/src/config.yml +++ b/FightSystem/FightSystem_Core/src/config.yml @@ -64,6 +64,8 @@ Arena: AllowMissiles: false # defaults to true if EnterStages are present otherwise 'false' # Denotes that there is no floor for this GameMode NoFloor: false # defaults to false if missing + windchargesCanCrossMiddle: false # defaults to false if missing + windchargesInteractWithBlocks: false # defaults to false if missing Schematic: # The size of the schematics diff --git a/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/Config.java b/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/Config.java index c8a5883c..3ad22480 100644 --- a/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/Config.java +++ b/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/Config.java @@ -64,6 +64,9 @@ public class Config { private static final int BlueToRedY; public static final int BlueToRedZ; + public static final boolean WindchargesCanCrossMiddle; + public static final boolean WindchargesInteractWithBlocks; + //schematic parameter public static final boolean OnlyPublicSchematics; @@ -102,6 +105,8 @@ public class Config { CheckSchemID = Integer.parseInt(System.getProperty("checkSchemID", "0")); PrepareSchemID = Integer.parseInt(System.getProperty("prepareSchemID", "0")); ReplayID = Integer.parseInt(System.getProperty("replay", "0")); + WindchargesCanCrossMiddle = Boolean.getBoolean(System.getProperty("windchargesCanCrossMiddle", "false")); + WindchargesInteractWithBlocks = Boolean.getBoolean(System.getProperty("windchargesInteractWithBlocks", "false")); String configFile = System.getProperty("config", "config.yml"); if (!new File(FightSystem.getPlugin().getDataFolder(), configFile).exists()) {