[1.19.2 Bug]: The BallLightningEntity of the Sea Dragon causes the server to crash when there is a high density of monsters.
BKcatmoon opened this issue · 6 comments
■ Your Discord ID or other contacts
bkcatmoon
■ Dragon Survival version
Dragon Survival-1.19.2-13.06.2024
■ Single game or server?
Self-made dedicated server
■ Describe the bug
We know the root cause of this bug. It is due to a monster reflecting the projectile and therefore taking ownership of it. The code expects the owner of the ball to always be a player, so everything crashes. Will get fixed soon.
I just had this error "brick" a save. I guess i was unlucky enough to have the lightningball go into lingering mode after being reflected and then get saved. This meant that every time i loaded the save, it would immediately crash again.
Managed to recover it by removing the lightning ball entity with save editing.
Glad to hear you've got a fix in the works!
if you encounter issues like this you can use https://www.curseforge.com/minecraft/mc-mods/neruina
it will stop your game from crashing when an entity encounters problems while ticking