Lapis golem crashes the game when fighting
Eric-Li-7 opened this issue ยท 2 comments
I was testing the golems and their attack damage, but when I tested the lapis golem the game crashed with this error:
The game crashed whilst ticking entity
Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.world.effect.MobEffectInstance.m_19544_()" because "p_34192_" is null
Exit Code: -1
I kept running experiments and found out sometimes when lapis golem fights a mob it does not happen, but sometimes the game just crashes.