Better Async Tasks

Now using a BukkitRunnable and a Map to determine if an async task is running. This allows the plugin to prevent the jukebox from being modified before the task is complete, which prevents the jukebox from bugging out and causing discs to be lost.
This commit is contained in:
Navoei
2022-07-29 15:51:11 -05:00
parent ae4c216fcf
commit 6dd7c6f8d0
2 changed files with 76 additions and 78 deletions

View File

@@ -11,6 +11,6 @@ mod_id=customdiscsplugin
# Target an older API to make it compatible with older versions of Simple Voice Chat
voicechat_api_version=2.2.22
plugin_version=1.3
plugin_version=1.3.1
maven_group=me.Navoei.customdiscsplugin
archives_base_name=custom-discs