SteamWar/FightSystem
Archiviert
13
1

Disable TNT explosions in testarenas in Pre running state

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-07-03 21:10:07 +02:00
Ursprung d04d8f65b3
Commit a9907b9ad1

Datei anzeigen

@ -20,7 +20,7 @@ import java.util.EnumSet;
public class FreezeWorldStateListener extends BasicListener {
public FreezeWorldStateListener() {
super(Config.test() ? EnumSet.noneOf(FightState.class) : EnumSet.of(FightState.PRE_LEADER_SETUP, FightState.PRE_SCHEM_SETUP, FightState.POST_SCHEM_SETUP, FightState.PRE_RUNNING, FightState.SPECTATE));
super(Config.test() ? EnumSet.of(FightState.PRE_RUNNING) : EnumSet.of(FightState.PRE_LEADER_SETUP, FightState.PRE_SCHEM_SETUP, FightState.POST_SCHEM_SETUP, FightState.PRE_RUNNING, FightState.SPECTATE));
}
@EventHandler