[1.16.4] Undead Rat crashes server when defending its owner
Magiwarriorx opened this issue ยท 1 comments
Giving a rat an Undead upgrade inconsistently leads to a crash when the rat attempts to defend its owner from hostile mobs. I believe the hostile mob AI occasionally tries to change targets from a player its attacking to the last thing that damaged it, ultimately trying to target an Undead rat and leading to a crash.
Log here: https://pastebin.com/7TVx6UTQ
Steps to replicate:
- Install Rats and Ratlantis for 1.16.4
- Tame a rat
- Give the tamed rat the Undead upgrade
- Set the rat to Hunt Monsters
- Take damage from a hostile mob while near the Undead rat
- Wait for the Undead rat to damage the hostile mob
- Repeat steps 5 and 6 until crash
duplicate #389