Apply Splotless

This commit is contained in:
Spacebuilder2020 committed 2023-11-23 00:15:17 -07:00
1 parent d051a09e25
commit 1df8a200bc
1 file changed
+2 -1
@@ -165,7 +165,8 @@ public class ItemFilter implements IInventory, IItemFilter {
}
private boolean isNBTMatch(ItemStack filter, ItemStack item) {
if (filter.stackTagCompound == null && ( item.stackTagCompound == null || item.stackTagCompound.hasNoTags() )) return true;
if (filter.stackTagCompound == null && (item.stackTagCompound == null || item.stackTagCompound.hasNoTags()))
return true;
if (filter.stackTagCompound == null || item.stackTagCompound == null) return false;
if (!filter.getTagCompound().hasKey("GEN")) return filter.stackTagCompound.equals(item.stackTagCompound);
NBTTagCompound filterTag = (NBTTagCompound) filter.getTagCompound().copy();