mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
@@ -94,7 +94,7 @@ public class CraftInventory implements org.bukkit.inventory.Inventory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean contains(Material material, int amount) {
|
public boolean contains(Material material, int amount) {
|
||||||
return contains(material.getId(), amount);
|
return contains(material.getId(), amount);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean contains(ItemStack item, int amount) {
|
public boolean contains(ItemStack item, int amount) {
|
||||||
|
Reference in New Issue
Block a user