Bug Closed · Resolved

Ejectpassenger skill being called asynchronously

#3655 opened by Unknown 3 years ago

Unknownreported this bug

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

https://pastebin.com/tCvgvgjd

Debug log snippet

https://pastebin.com/yX5U67xW

Proposed fixes

Judging from the error, it seems like the function to execute the skill is synchronous, but is being called asynchronously.

Sign in to join the discussion.