I don't know if another mod is inadvertently causing this, but as the pack I am making is unreleased, I can put a curseforge zip here. It happens when gregtech loads the EMI plugin
Additional Information
edit:
JAOPCAGTCEu seems to be what is triggering the issue, but regardless the way you are calling set is unsafe
Checked for existing issues
Tested latest version
GregTech CEu Version
1.3.0
Recipe Viewer Installed
EMI
Environment
Singleplayer
Cross-Mod Interaction
Yes
Other Installed Mods
Expected Behavior
the EMI plugin to load all the way and not error out
Actual Behavior
the plugin errors out here, and throws an IllegalStateException, because
remove
has been called oniterator
before you callset
https://github.com/GregTechCEu/GregTech-Modern/blob/5d061c7595a51d1ac5ad671ba178e370656dca70/src/main/java/com/gregtechceu/gtceu/api/capability/recipe/ItemRecipeCapability.java#L501Steps to Reproduce
I don't know if another mod is inadvertently causing this, but as the pack I am making is unreleased, I can put a curseforge zip here. It happens when gregtech loads the EMI plugin
Additional Information
edit: JAOPCAGTCEu seems to be what is triggering the issue, but regardless the way you are calling
set
is unsafe