mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-14 01:14:18 +00:00
Fix filter amounts
This commit is contained in:
1 parent
30e51d33aa
commit
50fdf1b161
2 files changed
+26
-16
No files matched your search
@@ -211,8 +211,15 @@ public abstract class ToolMod
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected boolean areItemStacksEquivalent (ItemStack stack1, ItemStack stack2)
|
||||
|
||||
public boolean areItemsEquivalent (ItemStack stack1, ItemStack stack2)
|
||||
{
|
||||
if (stack1.itemID != stack2.itemID)
|
||||
return false;
|
||||
return ItemStack.areItemStackTagsEqual(stack1, stack2);
|
||||
}
|
||||
|
||||
public boolean areItemStacksEquivalent (ItemStack stack1, ItemStack stack2)
|
||||
{
|
||||
if (stack1.itemID != stack2.itemID)
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user