From a9907b9ad1ad2e00db4b074d8196e35104e0d2e0 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Fri, 3 Jul 2020 21:10:07 +0200 Subject: [PATCH] Disable TNT explosions in testarenas in Pre running state Signed-off-by: Lixfel --- .../steamwar/fightsystem/listener/FreezeWorldStateListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/listener/FreezeWorldStateListener.java b/FightSystem_Main/src/de/steamwar/fightsystem/listener/FreezeWorldStateListener.java index 5a16f24..b8547af 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/listener/FreezeWorldStateListener.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/listener/FreezeWorldStateListener.java @@ -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