iconomy5legacy / iConomy

iConomy 5 (Towny Edition)
15 stars 14 forks source link

Making the Update and Set Events Asynchronous #18

Closed Hugo5000 closed 3 years ago

Hugo5000 commented 3 years ago

This is to stop the sync schedule to change the execution order. This can be a problem if many transactions are made in a short amount of time, for example when the towny new day task runs and collects the taxes.

I have not bothered to change anything in the naming scheme so I don't break any plugins that rely on those events, one should probably add a javadoc comment to the event class that it might be executed asynchronously

ElgarL commented 3 years ago

I'll close this one as it breaks backwards compatability. #16 looks good though.