From f053cde0e869854288f7642aa3b641eba392707f Mon Sep 17 00:00:00 2001 From: BenceX100 Date: Sun, 8 Dec 2024 20:18:05 +0100 Subject: [PATCH] 1.11.0 --- pom.xml | 4 ++-- src/main/java/com/artillexstudios/axtrade/AxTrade.java | 6 +++--- .../java/com/artillexstudios/axtrade/commands/Commands.java | 2 -- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index ada781d..684ca12 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.artillexstudios AxTrade - 1.10.1 + 1.11.0 jar AxTrade @@ -116,7 +116,7 @@ com.artillexstudios.axapi axapi - 1.4.403 + 1.4.435 compile all diff --git a/src/main/java/com/artillexstudios/axtrade/AxTrade.java b/src/main/java/com/artillexstudios/axtrade/AxTrade.java index b26416a..e1fe458 100644 --- a/src/main/java/com/artillexstudios/axtrade/AxTrade.java +++ b/src/main/java/com/artillexstudios/axtrade/AxTrade.java @@ -8,9 +8,9 @@ import com.artillexstudios.axapi.libs.boostedyaml.boostedyaml.settings.dumper.Du 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 com.artillexstudios.axapi.utils.StringUtils; +import com.artillexstudios.axapi.utils.featureflags.FeatureFlags; import com.artillexstudios.axtrade.commands.Commands; import com.artillexstudios.axtrade.hooks.HookManager; import com.artillexstudios.axtrade.lang.LanguageManager; @@ -79,7 +79,7 @@ public final class AxTrade extends AxPlugin { if (CONFIG.getBoolean("update-notifier.enabled", true)) new UpdateNotifier(this, 5943); } - public void updateFlags() { - FeatureFlags.USE_LEGACY_HEX_FORMATTER.set(true); + public void updateFlags(FeatureFlags flags) { + flags.USE_LEGACY_HEX_FORMATTER.set(true); } } \ No newline at end of file diff --git a/src/main/java/com/artillexstudios/axtrade/commands/Commands.java b/src/main/java/com/artillexstudios/axtrade/commands/Commands.java index 7c07e83..dae4fb6 100644 --- a/src/main/java/com/artillexstudios/axtrade/commands/Commands.java +++ b/src/main/java/com/artillexstudios/axtrade/commands/Commands.java @@ -132,8 +132,6 @@ public class Commands implements OrphanCommand { LanguageManager.reload(); - Commands.registerCommand(); - new HookManager().updateHooks(); NumberUtils.reload();