Ejectpassenger skill being called asynchronously
Summary
Entity mounted to caster is not ejected on skill call. Rather they stay stuck to the caster until either the caster is killed or removed.
Version used: Free v5.2.0
Steps to reproduce
Make a mob use the mountme skill followed by ejectpassenger.
Specific skill used in my case: ThrowZombie: Skills:
- summon{type=ZOMBIE;amount=1;r=1} @self
- delay 5
- mountme @MIR{r=2;t=ZOMBIE}
- ejectpassenger
- throw{velocity=5;velocityY=2;repeat=2;repeatInterval=2} @MIR{r=2;t=ZOMBIE}
Current behavior
Entity mounted to caster is not ejected on skill call. Rather they stay stuck to the caster until either the caster is killed or removed.
Intended correct behavior
Entity mounted to caster should be ejected on ejectpassenger skill call.
Server log file
Debug log snippet
Proposed fixes
Judging from the error, it seems like the function to execute the skill is synchronous, but is being called asynchronously.