[1.16.5] Crash in inventory with Pokecube
Elec0 opened this issue ยท 1 comments
Issue Description:
Client crashes when searching 'Bee' in JEI with Pokecube and Productive Bees installed.
crash-2021-04-12_16.25.41-client.txt
It looks like productive bees is trying to do some custom rendering or something with the bees pokecube adds without proper type checking.
What happens:
Client crashes unexpectedly .
java.lang.ClassCastException: pokecube.core.entity.pokemobs.GenericPokemob cannot be cast to net.minecraft.entity.passive.BeeEntity
at cy.jdkdigital.productivebees.integrations.jei.ingredients.BeeIngredient.getCachedEntity(BeeIngredient.java:43) ~[productivebees:1.16.5-0.6.9.8] {re:classloading}
What you expected to happen:
No crash
Steps to reproduce:
- Have Pokecube, Productive Bees, and JEI installed
- Search 'Bee'
- Observe crash
Affected Versions:
- Pokecube AIO: 1.16.5-3.11.4
- Productive Bees: 1.16.5-0.6.9.8
- Minecraft: 1.16.5
- Forge: 36.1.0