Update Config #352
@ -75,6 +75,7 @@ public class Config {
|
||||
public static final boolean GroundWalkable;
|
||||
public static final boolean DisableSnowMelt;
|
||||
public static final boolean ArenaLeaveable;
|
||||
public static final boolean AllowMissiles;
|
||||
|
||||
//schematic parameter
|
||||
public static final boolean RanksEnabled;
|
||||
@ -172,6 +173,7 @@ public class Config {
|
||||
GroundWalkable = config.getBoolean("Arena.GroundWalkable", true);
|
||||
DisableSnowMelt = config.getBoolean("Arena.DisableSnowMelt", false);
|
||||
ArenaLeaveable = config.getBoolean("Arena.Leaveable", false);
|
||||
AllowMissiles = config.getBoolean("Arena.AllowMissiles", false);
|
||||
|
||||
int schemsizeX = config.getInt("Schematic.Size.x");
|
||||
int schemsizeY = config.getInt("Schematic.Size.y");
|
||||
|
@ -36,8 +36,8 @@ public class PistonListener implements Listener {
|
||||
public PistonListener() {
|
||||
//Wenn Entern aktiv ist, sollen Raketen etc. entern können
|
||||
if(!ArenaMode.Check.contains(Config.mode)) {
|
||||
new StateDependentListener(Config.EnterStages.isEmpty(), FightState.All, this);
|
||||
new StateDependentListener(!Config.EnterStages.isEmpty(), FightState.Setup, this);
|
||||
new StateDependentListener(Config.EnterStages.isEmpty() || Config.AllowMissiles, FightState.All, this);
|
||||
new StateDependentListener(!(Config.EnterStages.isEmpty() || Config.AllowMissiles), FightState.Setup, this);
|
||||
}
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren