diff --git a/src/main/java/org/simplemc/simpleannounce/message/sender/BossBarSender.java b/src/main/java/org/simplemc/simpleannounce/message/sender/BossBarSender.java index 8caa386..0ea1594 100755 --- a/src/main/java/org/simplemc/simpleannounce/message/sender/BossBarSender.java +++ b/src/main/java/org/simplemc/simpleannounce/message/sender/BossBarSender.java @@ -70,7 +70,7 @@ public void run() final BukkitTask animationTask; if (animate) { - animationTask = Bukkit.getScheduler().runTaskTimerAsynchronously(plugin, () -> + animationTask = Bukkit.getScheduler().runTaskTimer(plugin, () -> { // calculate next progress bar step double progress = bossBar.getProgress() + ((reverse ? -1 : 1) * (1.0 / holdTime)); @@ -95,7 +95,7 @@ else if (progress > 1) } // schedule boss bar to go away - Bukkit.getScheduler().runTaskLaterAsynchronously(plugin, () -> + Bukkit.getScheduler().runTaskLater(plugin, () -> { // reset progress bossBar.setProgress(reverse ? 1 : 0); diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 829bb14..eab73b7 100755 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: SimpleAnnounce main: org.simplemc.simpleannounce.SimpleAnnounce -version: 1.9.2 +version: 1.9.3 website: http://SimpleMC.org/simpleannounce/ author: Taylor Becker permissions: