Dungeon Mobs Reborn

Dungeon Mobs Reborn

556k Downloads

NPE: Entity Living Base crash

erindal opened this issue ยท 7 comments

commented

Crash report: https://gist.github.com/erindalc/7fa73eed29de3322c24122ee3fb65144

Version: 5.4.2
Forge: 14.23.4.2747

I was just walking around my base and I crashed. I had to enable forge's remove erroring entities to load back in.

commented

I can't reproduce this, and can't imagine what might be going on here -- the vampire has no special jump or swim related code, that just defaults to vanilla. I really am starting to regret getting involved in with this mod, actually. Not sure when or if this will be fixed.

commented

It's reproduced by spawning a vampire in water.
I think the Vampire is missing the SWIM_SPEED entity attribute, probably a missing ancestor call in the entity class.

commented

I didn't realize leaving that out would cause a problem since it didn't crash for me. For what its worth, I guessed from the name "handleJumpWater" that it might involve swimming (even though I'd see vampires run into water before) -- but when I went to test that by spawning vampires in water they just swam to the top with no crash or any sign of a problem.

Anyway, a new version was just uploaded and is under review -- it adds the super class call, so if that was it everything should be fixed.

commented

Is this fixed or is this still happening? If it is no longer happening perhaps this should also be closed.

commented

OK, then I guess this can be closed. Thanks for the feedback.

commented

As of 5.5.0, all DungeonMobs can be spawned or dropped in water with no crash observed.