diff --git a/CHANGELOG.md b/CHANGELOG.md index fae97249d..9357d5f2f 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Added Spanish translation (Samuelrock) - Fixed issue where the Pattern Grid can only overwrite patterns when blank ones are present (ineternet) - Fixed not being able to extract half a stack of items with max stack size 1 in Grid when using right click (raoulvdberge) +- Fixed 2 same stacks using capabilities without NBT tag not treated equal (raoulvdberge) - Changed stack quantity of craftable items from 1 to 0 to fix Quantity Sorting (ineternet) ### 1.5.31 diff --git a/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/util/Comparer.java b/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/util/Comparer.java index 85022f762..2b0f91e7b 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/util/Comparer.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/util/Comparer.java @@ -42,6 +42,7 @@ public class Comparer implements IComparer { left = stripTags(left.copy()); right = stripTags(right.copy()); } + if (!isEqualNBT(left, right)) { return false; } @@ -98,6 +99,8 @@ public class Comparer implements IComparer { return true; } else if (!left.hasTagCompound() && right.hasTagCompound() && right.getTagCompound().hasNoTags()) { return true; + } else if (!left.hasTagCompound() && !right.hasTagCompound()) { + return true; } return false;