SteamWar/FightSystem
Archiviert
13
1

Hotfix choose schematic in testmode

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-01-12 17:15:01 +01:00
Ursprung 33b9f03926
Commit 36925fad13

Datei anzeigen

@ -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());
}