Improved Mobs (Forge)

Improved Mobs (Forge)

8M Downloads

Crash with null error

IDEDARY opened this issue ยท 2 comments

commented

Modloader

Forge

Minecraft version

1.18.2

Modloader version

40.1.68

Mod version

1.10.14

TenshiLib version

1.6.9

Description

Looks like there is an error happening, seems like some method function can sometimes be null and it will crash the whole game.

The game crashed whilst ticking entity
Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.ai.goal.WrappedGoal.m_7620_()" because "$$2" is null

Steps to reproduce

I use InfernalMobs, Epic fight mod, AI improvements and ImprovedMobs together. An entity with broken ability can spawn sometimes. It will crash the game.

Mods that might affect the issue

InfernalMobs, Epic fight mod, AI improvements. But I don't think they affect this issue. They work together nicely most of the time, but sometimes the broken ability might be called and that's when the game crashes.

Logs

https://pastebin.com/E8r6Cv3C

commented

try this:

If you think you have a mod conflict but unsure what mod(s) is causing the conflict you can use the following procedure to find the cause more quickly:

Obviously keep this mod always in
1. Remove half the mods
2. Start the game
3. If issue persist go to 1. Else try with the other half
4. Continue till problem is found
commented

I have removed Epic Fight mod and the issue has not appeared again. However it is a crash that is triggered on random, not when the game loads or certain action is done. But I believe this can be closed.