Rebirth-of-the-Night / onslaught

Onslaught is a Minecraft Mod that gives you an interface to create Invasions of violent mobs with custom abilities, loot, and spawning conditions.
5 stars 3 forks source link

Special Mobs Silverfish Crash #31

Open mxnmnm opened 3 years ago

mxnmnm commented 3 years ago

For some reason silverfish can randomly cause crashes when they are inserted inside of a raid. It isn't easy to replicate, and it causes you to crash every time you load into the world. The only way to fix it is to either kill all of the silverfish using commands or to stop the raid before you crash again.

Here is the crash report: https://gist.github.com/mxnmnm/0cb306040f78b9a9efc4ad348ea39eda

If you need more info let me know.

democat3457 commented 3 years ago

https://github.com/Rebirth-of-the-Night/onslaught/blob/8bc58a9caef46748bb3c7466fa2ffadb16a5b097/src/main/java/com/codetaylor/mc/onslaught/modules/onslaught/invasion/EntityInvasionDataRemover.java#L87-L95

probably related to this section concurrently modifying the ai task list

mxnmnm commented 3 years ago

So is there anything I can do? Or will I have to wait for a fix?

mxnmnm commented 3 years ago

After some testing the issue seems to be the silverfish using the teleport ai.

mxnmnm commented 2 years ago

Uhhhhh I tried new version and this happened https://gist.github.com/mxnmnm/178c96f531bafafe7c43b48d106f1c72

democat3457 commented 2 years ago

:/ this could also be due to another mod