Mob Battle Mod (Forge)

Mob Battle Mod (Forge)

1M Downloads

[1.16.5] Crash with custom mod

4nyNoob opened this issue ยท 1 comments

commented

Modloader

Forge

Minecraft version

1.16.5

Modloader version

36.2.39

Mod version

1.16.5-2.3.8.3

Description

My custom mobs mob isn't playing well with the mobbattle mod, sometimes when assigning my custom mobs to a team there's a:

Details:
	Entity Type: jayemod:camera_woman (com.any.jayemod.entity.custom.CameraWomanEntity)
	Entity ID: 8
	Entity Name: Camera Woman
	Entity's Exact location: -568.44, 144.00, 141.15
	Entity's Block location: World: (-569,144,141), Chunk: (at 7,9,13 in -36,8; contains blocks -576,0,128 to -561,255,143), Region: (-2,0; contains chunks -64,0 to -33,31, blocks -1024,0,0 to -513,255,511)
	Entity's Momentum: 0.00, -0.08, -0.05
	Entity's Passengers: []
	Entity's Vehicle: ~~ERROR~~ NullPointerException: null

Steps to reproduce

  1. spawn a bunch(50 or more) of mobs from my mod

  2. have someone joining via LAN

  3. assign all of the mobs or just a part of them to a team

  4. crash

Mods that might affect the issue

The mod that's causing problems

this is a mod that i'm developing by myself, so i believe that the problem lies on my lack of knolwedge, anyways, here's the code for the entity that's freaking out

CameraWomanEntity.java

Logs

https://paste.gg/p/anonymous/601e466962484485be9a992a3d189028

commented

something in the look controller is null. this is all i can give though as 1.16.5 is out of support