PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
9.34k stars 2.2k forks source link

fix exact choice shapeless recipes #10973

Open Machine-Maker opened 1 week ago

Machine-Maker commented 1 week ago

Fixes https://github.com/PaperMC/Paper/issues/10971

I still want to see if there's a better fix for this, perhaps separating out it into two contents maps. I also need to test if there's an issue with a stack being regsitered twice, once as it's "simple" id based on the type, and another for it's exact ID.


Download the paperclip jar for this pull request: paper-10973.zip

Machine-Maker commented 5 days ago

Ok, I think this is the best solution. My idea of having a separate map for the "extra" ids being tracked is probably doable, but in a bigger diff for probably not that much gain. Both people who had this issue on the linked issue say this has resolved their problems with custom crafting.