Skip to content

Commit

Permalink
1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
BenceX100 committed Sep 30, 2024
1 parent c331259 commit b47be63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.artillexstudios</groupId>
<artifactId>AxAFKZone</artifactId>
<version>1.1.1</version>
<version>1.1.2</version>
<packaging>jar</packaging>

<name>AxAFKZone</name>
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/com/artillexstudios/axafkzone/AxAFKZone.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit b47be63

Please sign in to comment.