SirSquidly / Oceanic-Expanse

A 1.12.2 Minecraft Mod which adds various pieces of ocean-based content.
9 stars 1 forks source link

Drowned AI crash #46

Closed michelegargiulo closed 7 months ago

michelegargiulo commented 8 months ago

Happens when there is a drowned anywhere nearby a door.

crash-2023-09-21_19.52.16-server.txt

SirSquidly commented 8 months ago

This is odd, as Drowned should not have the EntityAIBreakDoor AI Task, as I have had it disabled even before the mod was released.

I am suspecting this is similar to issue #19, where another mod is forcing the AI onto the drowned because it parents the Zombie class.

Try disabling some of the mods that might alter Entities to see which it could be, then let me know which one is causing the issue.

michelegargiulo commented 7 months ago

Unfortunately, despite my attemps, I was not able to find the culprit mod(s). Probably, more than one of the mods I've installed adds that. From my testing, I can say that it was not:

I ended up writing a quick patch to the Drowned AI, a simple line in the onUpdate() function that checks if the EntityAIBreakDoor is in the entity tasks and removes it. Not ideal, but works. Closing this issue for now.