diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventory.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventory.java index 3079ae2fac..7ef2054c07 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventory.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftInventory.java @@ -94,7 +94,7 @@ public class CraftInventory implements org.bukkit.inventory.Inventory { } public boolean contains(Material material, int amount) { - return contains(material.getId(), amount); + return contains(material.getId(), amount); } public boolean contains(ItemStack item, int amount) {