'- gotospawn' AIGoalSelector breaks DamageModifiers
Summary
As in title, using the '- gotospawn' AIGoalSelector breaks any DamageModifiers on the mob. Using 1.17.1 with the current latest dev build of MM (#3677).
Steps to reproduce
Mob: https://pastebin.com/f9Lud1iF
Leave the '- gotospawn' goal to experience the bug, comment it out to remove the bug.
Intended correct behavior
DamageModifiers should work while using the '- gotospawn' AIGoal.
Server log file https://pastebin.com/V5ZXrRSK
Debug log snippet
Note: There are a lot of errors from MythicCrucible in the above Debug, but I don't believe Crucible is the cause. However, if we could get this console spam fixed too, that would be great. It happens everytime an item is "touched" in any way, e.g. Picking it up in inventory, right-clicking it, scrolling off of it on hotbar, etc.