diff --git a/src/main/scala/me/skymc/taboolib/inventory/ItemUtils.java b/src/main/scala/me/skymc/taboolib/inventory/ItemUtils.java index 4bdde11..f677698 100644 --- a/src/main/scala/me/skymc/taboolib/inventory/ItemUtils.java +++ b/src/main/scala/me/skymc/taboolib/inventory/ItemUtils.java @@ -142,7 +142,7 @@ public class ItemUtils { } public static boolean isNull(ItemStack item) { - return item == null || item.getType() == Material.AIR; + return item == null || item.getType().equals(Material.AIR); } public static boolean isName(ItemStack i, String a) {