mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 12:20:11 +00:00
And fix up the other equals
This commit is contained in:
1 parent
c976aae00c
commit
d8dda4c2fd
1 file changed
+2
-2
@@ -234,12 +234,12 @@ public class DungeonHooks
|
||||
|
||||
public boolean equals(ItemStack item, int min, int max)
|
||||
{
|
||||
return (min == minCount && max == maxCount && item.isItemEqual(this.itemStack) && ItemStack.areItemStackTagsEqual(item, itemStack));
|
||||
return (min == minCount && max == maxCount && item.isItemEqual(this.itemStack) && ItemStack.areItemStackTagsEqual(item, this.itemStack));
|
||||
}
|
||||
|
||||
public boolean equals(ItemStack item)
|
||||
{
|
||||
return item.isItemEqual(this.itemStack);
|
||||
return item.isItemEqual(this.itemStack) && ItemStack.areItemStackTagsEqual(item, this.itemStack);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user