Recipe logic can't distinguish items with same id but different nbt
Phoupraw opened this issue ยท 0 comments
Checked for existing issues
- I have checked for existing issues, and have found none.
Tested latest version
- I have checked that this occurs on the latest version.
GregTech CEu Version
1.3.1
Minecraft Version
1.20.1
Recipe Viewer Installed
None
Environment
Singleplayer
Cross-Mod Interaction
No
Other Installed Mods
None
Expected Behavior
Recipe should distinguish items with same id but different nbts. (ItemStack.isSameItemSameTags
)
Actual Behavior
Recipe can't distinguish items with same id but different nbts. (ItemStack.isSameItem
)
Steps to Reproduce
- Create a recipe that have two items with same id but different nbts.
- Machine can't start.
Additional Information
ItemStack.isSameItem
in the line should be replaced with ItemStack.isSameItemSameTags
.