From b47be6358200dcca8031e2842f2b2d5f27845bea Mon Sep 17 00:00:00 2001 From: BenceX100 Date: Mon, 30 Sep 2024 19:40:54 +0200 Subject: [PATCH] 1.1.2 --- pom.xml | 2 +- src/main/java/com/artillexstudios/axafkzone/AxAFKZone.java | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3466311..ab4b43b 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.artillexstudios AxAFKZone - 1.1.1 + 1.1.2 jar AxAFKZone diff --git a/src/main/java/com/artillexstudios/axafkzone/AxAFKZone.java b/src/main/java/com/artillexstudios/axafkzone/AxAFKZone.java index fee95e6..074c4db 100644 --- a/src/main/java/com/artillexstudios/axafkzone/AxAFKZone.java +++ b/src/main/java/com/artillexstudios/axafkzone/AxAFKZone.java @@ -14,6 +14,7 @@ import com.artillexstudios.axapi.libs.boostedyaml.boostedyaml.settings.general.GeneralSettings; import com.artillexstudios.axapi.libs.boostedyaml.boostedyaml.settings.loader.LoaderSettings; import com.artillexstudios.axapi.libs.boostedyaml.boostedyaml.settings.updater.UpdaterSettings; +import com.artillexstudios.axapi.utils.FeatureFlags; import com.artillexstudios.axapi.utils.MessageUtils; import net.kyori.adventure.platform.bukkit.BukkitAudiences; import org.bstats.bukkit.Metrics; @@ -61,6 +62,10 @@ public void enable() { if (CONFIG.getBoolean("update-notifier.enabled", true)) new UpdateNotifier(this, 6598); } + public void updateFlags() { + FeatureFlags.USE_LEGACY_HEX_FORMATTER.set(true); + } + public void disable() { TickZones.stop(); }