diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventory.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventory.java index 98aea6b291..28b8f5f618 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventory.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventory.java @@ -248,6 +248,11 @@ public class CraftInventory implements Inventory { return -1; } + @Override + public boolean isEmpty() { + return inventory.isEmpty(); + } + public int firstPartial(Material material) { Validate.notNull(material, "Material cannot be null"); material = CraftLegacy.fromLegacy(material);