Cannot modify events called with async
rona-tombo opened this issue ยท 0 comments
Currently, some evenets is called by BukkitScheduler#runTaskLater
.
That means, the event is fired after 1 tick, so the process after the event is fired is executed before the event operation from outside.
So, we cannot modify event and cancelling.
To reproduce this issue, you can try Cancellable#setCancelled
.