diff --git a/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/listener/PersonalKitCreator.java b/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/listener/PersonalKitCreator.java index 54adf273..e0b446d5 100644 --- a/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/listener/PersonalKitCreator.java +++ b/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/listener/PersonalKitCreator.java @@ -98,10 +98,7 @@ public class PersonalKitCreator implements Listener { return; InventoryType type = e.getInventory().getType(); - if(type == InventoryType.CHEST || type == InventoryType.DISPENSER || - type == InventoryType.FURNACE || type == InventoryType.HOPPER || - type == InventoryType.DROPPER || type == InventoryType.BARREL || - type == InventoryType.BREWING || type == InventoryType.ENCHANTING) { + if(type != InventoryType.PLAYER && type != InventoryType.CREATIVE) { backup.close(); } }