runaigoalselector causes ConcurrentModificationException

Summary When a MythicMob mob runs a metaskill with the ~onAttack trigger, and the skill runs the runaigoalselector skill, the mob despawns and this exeption gets thrown in the console:

Steps to reproduce Simply use the following mob and skill, spawn it, and let it attack you. Mob: https://pastebin.com/gyz9hThw Skill: https://pastebin.com/W2gb2Xn7

Current behavior The mob despawns.

Intended correct behavior The mob doesn't despawn.

Server log file https://pastebin.com/jXnmMGJy

Debug log snippet https://pastebin.com/AQATZ5Ep

Proposed fixes I do not know what the plugin is doing that is causing this.

Assignee Loading
Time tracking Loading