Crash by ticking entity(?) bug
rlcraftisharder opened this issue ยท 10 comments
Describe the bug
When fighting a CQR mob inside one of the CQR dungeons, a sudden crash preventing you to go back to the world, due to ticking entity.
To Reproduce
Steps to reproduce the behavior:
- Go find a CQR dungeon or use a Dp (Dungeon Placer)
- Let it generate
- Fight a CQR mob part of this dungeon (or structure)
- You get a crash preventing going back to the world, causes being CQR being suspected or none.
Expected behavior
To not crash when fighting a CQR mob and let me fight through the whole dungeon.
Screenshots
Sorry, no screenshots.
Versions
Chocolate Quest Repoured: 1.12.2-1.12.0A
Forge: 14.23.5.2847
Minecraft: 1.12.2
Other
Crash report:
crash-2020-03-17_14.45.54-server.txt
Log file:
latest.log
Singleplayer/Multiplayer: Singleplayer
Other mods (that are necessary to produce the bug): n/a, just CQR
Other mods (that are also installed):
Also this is probably caused by primitive mobs, not cqr alone
I will fix it though
I don't have primitive mobs, I do have the Summoner mod tho, which the Summoner used to be part of Primitive Mobs.
it is caused randomly cause basically it happens when a mob gets attacked and searches for allies in range. if it finds a allied mob that is not an AbstractCQREntity it tries to cast it and fails which causes the crash, that actually works with every other mod and is a mistake by us forgetting to check things
Until the next release you should be able to enter your world without crashing when switching to peaceful. And the crash will happen when a cqr mob is low, in combat, wants to drink a healing potion, >=5 mobs are in a 20 blocks radius and one of them is a none cqr mob that is a friend of the mob that wants to drink.