From 36925fad1385e58bc5f88c78d21200ecddc00b1d Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 12 Jan 2020 17:15:01 +0100 Subject: [PATCH] Hotfix choose schematic in testmode Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/fight/FightTeam.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_Main/src/de/steamwar/fightsystem/fight/FightTeam.java b/FightSystem_Main/src/de/steamwar/fightsystem/fight/FightTeam.java index b6f4228..9326f21 100644 --- a/FightSystem_Main/src/de/steamwar/fightsystem/fight/FightTeam.java +++ b/FightSystem_Main/src/de/steamwar/fightsystem/fight/FightTeam.java @@ -210,7 +210,7 @@ public class FightTeam implements IFightTeam{ inventory.setItem(4, new ItemBuilder(SWItem.getDye(10), (short) 10).removeAllAttributs().addEnchantment(Enchantment.DURABILITY, 1).setDisplayName("§cNicht bereit").build()); } - if(!Config.test() && FightSystem.getFightState() != FightState.POST_SCHEM_SETUP) + if(Config.test() || FightSystem.getFightState() != FightState.POST_SCHEM_SETUP) inventory.setItem(0, new ItemBuilder(SWItem.getMaterial("CAULDRON_ITEM")).removeAllAttributs().addEnchantment(Enchantment.DURABILITY, 1).setDisplayName("§e" + Config.GameName + " wählen").build()); }