Better NBT compare check
This commit is contained in:
@@ -117,7 +117,7 @@ public final class RefinedStorageUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((flags & CompareFlags.COMPARE_NBT) == CompareFlags.COMPARE_NBT) {
|
if ((flags & CompareFlags.COMPARE_NBT) == CompareFlags.COMPARE_NBT) {
|
||||||
if (left.hasTagCompound() && !left.getTagCompound().equals(right.getTagCompound())) {
|
if (!ItemStack.areItemStackTagsEqual(left, right)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user