
Crashing when used with Roughly Enough Items
BurgerLUA opened this issue ยท 3 comments
Upon clicking dust in any recipe with Roughly Enough Items , the client crashes with log error
Description: mouseClicked event handler
java.lang.ClassCastException: abused_master.refinedmachinery.registry.PulverizerRecipes$PulverizerRecipe cannot be cast to net.minecraft.class_1860
It happens with no other craftable object, only the dust.
Duplicate of #40 and #42 and apparently REI didn't fix this correctly (REI should be able to catch the error, print the track trace and not crash), and I forgot to claim in REI that if the recipe type doesn't extend Recipe<?>
, these lines should return an empty optional (https://github.com/shedaniel/RoughlyEnoughItems/blob/5e9a5691c42b535eb9bb410fe366edfbae93192d/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java#L18-L21).