IndexOutOfBoundException in EMI compat
No3371 opened this issue ยท 2 comments
Describe the Bug
EMI errors out when loading plugins, this only happens when the CreateAddition mod is installed.
I'm not sure but maybe that mod modified the recipes...
It seems like we can have some length check here so that it won't straight crash EMI:
input = List.of(EmiIngredient.of(recipe.getIngredients().get(0)),
fluidStack(recipe.getRequiredFluid().getMatchingFluidStacks().get(0)));
Reproduction Steps
- Install Create.
- Install Create Addition.
- Install EMI.
Expected Result
EMI works normally.
Screenshots and Videos
No response
Crash Report or Log
https://hastebin.com/share/ihurosaqap.csharp
Operating System
Windows 10
Mod Version
0.5.0i
Minecraft Version
1.19.2
Other Mods
No response
Additional Context
No response
I've been isolating my mods and it turns out the bug can not be reproduced with only these mods .
So being honest I haven't find the offender and the reason why it only happens when Create Addition is added to the original modpack.