Alex's Mobs

Alex's Mobs

78M Downloads

Compatability Crash with Iron's Spellbooks in the ModelAMElytra class

WardenDrew opened this issue ยท 2 comments

commented

When an irons_spellbooks:necromancer is spawned in, there is a game crash due to an unchecked entity reference in the ModelAMElytra class's withAnimations(LivingEntity entity) method.

public ModelAMElytra withAnimations(LivingEntity entity){

I'm not sure why for this specific entity from Iron's spellbooks is causing this parameter to be null, but at a minimum null guarding this method should mitigate the crash.

Crash Log: https://gist.github.com/WardenDrew/a52573fc95e04c14bcd8ca244360a201

Alex's Mobs Version: 1.22.6
Forge Version: 1.20.1-47.2.0
Iron's Spellbooks Version: 1.20.1-2.0.2

commented

Related closed issue from Iron's Spellbooks: iron431/irons-spells-n-spellbooks#219

commented

It is still having problem.