[MythicMobs] ShootPotion @Target doesn't work

Summary

When using the shootpotion mechanic and the @target targetter, the mob throws the potion in the direction it's facing, not at the player. Other shoot mechanics seem to work fine (I've tested shootfireball and shoot, but others should work too).

Steps to reproduce

https://pastebin.com/0K3fAecy

Just paste the mob into the game, test with two different shoot mechanics and see the result for yourself.

Current behavior I can't make a villager (or a witch) that runs away from the player whilst throwing slowing potions at it.

Intended correct behavior I should be able to make a villager that runs away from the player whilst throwing slowing potions at it.

Server log file

https://pastebin.com/7RE0rSAW

Debug log snippet

https://pastebin.com/HFjyvHAn

Proposed fixes no idea

Edited Nov 22, 2020 by Michał Panda
Assignee Loading
Time tracking Loading