Crashing on a Forge server (in a custom modpack)
Opened this issue ยท 6 comments
Hello, I have an issue with this mod, crash log is https://pastebin.com/MmdiJGBb.
In short, I've investigated the issue, and, based on the string from the log, the part which causes error is this: NBTTagCompound compound = entity.serializeNBT();
.
I have some mods which modify mobs, also because this is a server there are other players, so I think that your mod doesn't have a "limiter" and it basically tries to serialize NBT and get spawn egg from every entity.
Also, when looking on the circumstances of the crash, it happened when I've got killed by a Spider. So, I can say that error is caused because mod tries to get NBT and spawn eggs from players, and it shouldn't do this (get those from mobs only).
Thanks a lot if you will investigate this issue and help me (and probably others too) out with it!
Hi, thanks for the heads up but sadly I have very limited time and will not be able to resolve this issue at the moment. Sorry
No problems, I don't want to force you to do anything, so I'm completely fine with your decision :)
Note: I'll try to change the configurable spawn rate to 0.0 (instead of 4.0) and see if the error happens again.
PLEASE, LOOK TO THIS: https://www.minecraftforge.net/forum/topic/77057-1122-serializenbt-throws-null-string-not-allowed/. This is exactly our problem!
https://www.programcreek.com/java-api-examples/?api=net.minecraftforge.event.entity.living.LivingDropsEvent can probably help you too.
Issue is now fixed. See curseforge mod page for updated version.
Thanks for reporting on this issue and providing good information.