This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user