From 5879ca5e18860c115d1a7c472c7ce95fa1b114ed Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 11 Jul 2020 08:50:39 +0200 Subject: [PATCH] Hotfix piston listener Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/listener/PistonListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/listener/PistonListener.java b/FightSystem_Main/src/de/steamwar/fightsystem/listener/PistonListener.java index bbaf4d7..50ef104 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/listener/PistonListener.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/listener/PistonListener.java @@ -16,8 +16,8 @@ public class PistonListener extends BasicListener { public PistonListener() { //Wenn Entern aktiv ist, sollen Raketen etc. entern können super(Config.EnterStages.isEmpty() - ? EnumSet.of(FightState.PRE_LEADER_SETUP, FightState.PRE_SCHEM_SETUP, FightState.POST_SCHEM_SETUP) - : EnumSet.allOf(FightState.class)); + ? EnumSet.allOf(FightState.class) + : EnumSet.of(FightState.PRE_LEADER_SETUP, FightState.PRE_SCHEM_SETUP, FightState.POST_SCHEM_SETUP)); } @EventHandler