[fightsystem]: Rework blacklist to whitelist
All checks were successful
SteamWarCI Build successful

This commit is contained in:
zOnlyKroks
2026-05-03 14:15:59 +02:00
parent 5b1ed644d1
commit 32de0077de

View File

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