[1.16.5] Crash with custom mod
4nyNoob opened this issue ยท 1 comments
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
-
spawn a bunch(50 or more) of mobs from my mod
-
have someone joining via LAN
-
assign all of the mobs or just a part of them to a team
-
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
Logs
https://paste.gg/p/anonymous/601e466962484485be9a992a3d189028