diff --git a/libs/public/BedwarsAPI-5.3.3.jar b/libs/public/BedwarsAPI-5.3.3.jar index 60af59a..222b69c 100644 Binary files a/libs/public/BedwarsAPI-5.3.3.jar and b/libs/public/BedwarsAPI-5.3.3.jar differ diff --git a/src/main/java/me/metallicgoat/tweaksaddon/config/MainConfig.java b/src/main/java/me/metallicgoat/tweaksaddon/config/MainConfig.java index e7cdb9d..8cf50bd 100644 --- a/src/main/java/me/metallicgoat/tweaksaddon/config/MainConfig.java +++ b/src/main/java/me/metallicgoat/tweaksaddon/config/MainConfig.java @@ -92,6 +92,7 @@ public class MainConfig { @Config( description = { "Tries to disable the dragon death sound by overriding the value set in the spigot.yml", + "Disabling this will require a complete server restart (bw reload will not have an effect)" } ) public static boolean disable_dragon_death_sound = true; diff --git a/src/main/java/me/metallicgoat/tweaksaddon/gentiers/dragons/DragonFollowTask.java b/src/main/java/me/metallicgoat/tweaksaddon/gentiers/dragons/DragonFollowTask.java index 795ef40..f85fa8d 100644 --- a/src/main/java/me/metallicgoat/tweaksaddon/gentiers/dragons/DragonFollowTask.java +++ b/src/main/java/me/metallicgoat/tweaksaddon/gentiers/dragons/DragonFollowTask.java @@ -4,6 +4,7 @@ import de.marcely.bedwars.api.arena.Team; import de.marcely.bedwars.api.event.arena.RoundEndEvent; import de.marcely.bedwars.api.game.spawner.Spawner; +import de.marcely.bedwars.tools.Helper; import de.marcely.bedwars.tools.location.XYZ; import de.marcely.bedwars.tools.location.XYZYP; import me.metallicgoat.tweaksaddon.MBedwarsTweaksPlugin; @@ -279,7 +280,9 @@ public void run() { // Move it move it move it teleportLocation.setDirection(this.dragon.getLocation().clone().subtract(teleportLocation).toVector()); - this.dragon.teleport(teleportLocation); + + // Only async on paper 1.14.4+ + Helper.get().teleportAsync(this.dragon, teleportLocation, null); } private void remove() {