Better NBT compare check

This commit is contained in:
Raoul Van den Berge
2016-06-09 22:53:59 +02:00
parent d1fee9e766
commit 7e3781a523

View File

@@ -117,7 +117,7 @@ public final class RefinedStorageUtils {
}
if ((flags & CompareFlags.COMPARE_NBT) == CompareFlags.COMPARE_NBT) {
if (left.hasTagCompound() && !left.getTagCompound().equals(right.getTagCompound())) {
if (!ItemStack.areItemStackTagsEqual(left, right)) {
return false;
}
}