Fix comparing ItemStack tags for equality
This commit is contained in:
parent
f5e800d288
commit
c976aae00c
1 changed files with 4 additions and 4 deletions
|
@ -234,7 +234,7 @@ public class DungeonHooks
|
|||
|
||||
public boolean equals(ItemStack item, int min, int max)
|
||||
{
|
||||
return (min == minCount && max == maxCount && item.isItemEqual(this.itemStack));
|
||||
return (min == minCount && max == maxCount && item.isItemEqual(this.itemStack) && ItemStack.areItemStackTagsEqual(item, itemStack));
|
||||
}
|
||||
|
||||
public boolean equals(ItemStack item)
|
||||
|
|
Loading…
Reference in a new issue