Esempio n. 1
0
    public bool hasItem(Item item, int amount = 1)
    {
        int count = slots.getItemCount(item);

        return(count >= amount);
    }