EnhancedVisuals

EnhancedVisuals

12M Downloads

NullPointerException in SlenderHandler

Chumbanotz opened this issue ยท 1 comments

commented

Hello, I see you've added support for the Mutant Enderman. A user of my mod showed me a crash log claiming it was caused when mutant endermen spawned. Here is the line the issue is on:

player.world.getClosestEntityWithinAABB(mutantEnderman, null, player, d0, d1, d2, box);

Null is passed where there should be an EntityPredicate, which I noticed is passed for normal enderman from your SelectEndermanEvent.

commented

Oh thanks for reporting this issue. The predicate cannot be null apparently. Released a new version which should fix it.