changed consumeItem to be static
This commit is contained in:
parent
c20acfc473
commit
5d12db00be
1 changed files with 2 additions and 2 deletions
|
@ -352,7 +352,7 @@ public class AutoCraftingManager
|
|||
* @param ammount - amount to consume
|
||||
* @return what is left of the itemStack if any
|
||||
*/
|
||||
public ItemStack consumeItem(ItemStack itemStack, int amount)
|
||||
public static ItemStack consumeItem(ItemStack itemStack, int amount)
|
||||
{
|
||||
if (itemStack == null)
|
||||
{
|
||||
|
@ -389,7 +389,7 @@ public class AutoCraftingManager
|
|||
}
|
||||
}
|
||||
//System.out.println("ItemGrinder: "+stack.toString());
|
||||
return this.decrStackSize(stack, amount);
|
||||
return decrStackSize(stack, amount);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue