kokumaji / warrior-plugin

1 stars 0 forks source link

Use Task Queueing System #9

Open kokumaji opened 3 years ago

kokumaji commented 3 years ago

Is your feature request related to a problem? Please describe. When executing WarriorUser#unlockSound(DeathSound), it displays a title to tell our player what they unlocked. Calling this method more than once at the same time causes it to only display the last unlock.

Describe the solution you'd like While we could just move the unlock message to chat and be done with this, a task queue may be the optimal solution to this problem (i.e. java.util.TaskQueue). This task queue could be reused for other methods as well!

kokumaji commented 3 years ago

possibly fixed by b3f0445, forgot to mention in commit

kokumaji commented 3 years ago

current implementation causes delay between players. a per player task queue is required