Improved Mobs (Forge)

Improved Mobs (Forge)

8M Downloads

NullPointer Crash on 1.16

Naxum opened this issue ยท 2 comments

commented

Issue:

A Looter enemy from the Farlanders mod (a mob that steals the player's main hand item) attacked a player while already holding a weapon, and then the game crashed.

Affected Versions:

  • Minecraft: 1.16.3
  • Forge: 1.16.3-34.1.42
  • TenshiLib: 1.16.3-1.3.0
  • Improved Mobs: 1.16.2.1

Other Mods (If you think it might be cause of an incompability):

Maybe Farlanders? The Looter entity specifically?
Farlanders 1.16.3-13.4

Logs:

https://pastebin.com/gy5HjDUp

commented

Looks like another mod was giving the Looter entity a weapon, and their source code doesn't check if the Looter has a main hand item or not, and doesn't expect the entity to get a weapon without stealing it. Probably unrelated to this mod and needs to be resolved by Farlanders.

commented

can you also send a modlist? the crash log should provide the modlist