From 32de0077dea4264afd65006ed6b00264e8205c62 Mon Sep 17 00:00:00 2001 From: zOnlyKroks Date: Sun, 3 May 2026 14:15:59 +0200 Subject: [PATCH] [fightsystem]: Rework blacklist to whitelist --- .../de/steamwar/fightsystem/listener/PersonalKitCreator.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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(); } }