This commit is contained in:
BenceX100 2024-12-08 20:18:05 +01:00
parent 993b9a01cd
commit f053cde0e8
3 changed files with 5 additions and 7 deletions

View File

@ -6,7 +6,7 @@
<groupId>com.artillexstudios</groupId> <groupId>com.artillexstudios</groupId>
<artifactId>AxTrade</artifactId> <artifactId>AxTrade</artifactId>
<version>1.10.1</version> <version>1.11.0</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>AxTrade</name> <name>AxTrade</name>
@ -116,7 +116,7 @@
<dependency> <dependency>
<groupId>com.artillexstudios.axapi</groupId> <groupId>com.artillexstudios.axapi</groupId>
<artifactId>axapi</artifactId> <artifactId>axapi</artifactId>
<version>1.4.403</version> <version>1.4.435</version>
<scope>compile</scope> <scope>compile</scope>
<classifier>all</classifier> <classifier>all</classifier>
</dependency> </dependency>

View File

@ -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.general.GeneralSettings;
import com.artillexstudios.axapi.libs.boostedyaml.boostedyaml.settings.loader.LoaderSettings; import com.artillexstudios.axapi.libs.boostedyaml.boostedyaml.settings.loader.LoaderSettings;
import com.artillexstudios.axapi.libs.boostedyaml.boostedyaml.settings.updater.UpdaterSettings; 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.MessageUtils;
import com.artillexstudios.axapi.utils.StringUtils; import com.artillexstudios.axapi.utils.StringUtils;
import com.artillexstudios.axapi.utils.featureflags.FeatureFlags;
import com.artillexstudios.axtrade.commands.Commands; import com.artillexstudios.axtrade.commands.Commands;
import com.artillexstudios.axtrade.hooks.HookManager; import com.artillexstudios.axtrade.hooks.HookManager;
import com.artillexstudios.axtrade.lang.LanguageManager; 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); if (CONFIG.getBoolean("update-notifier.enabled", true)) new UpdateNotifier(this, 5943);
} }
public void updateFlags() { public void updateFlags(FeatureFlags flags) {
FeatureFlags.USE_LEGACY_HEX_FORMATTER.set(true); flags.USE_LEGACY_HEX_FORMATTER.set(true);
} }
} }

View File

@ -132,8 +132,6 @@ public class Commands implements OrphanCommand {
LanguageManager.reload(); LanguageManager.reload();
Commands.registerCommand();
new HookManager().updateHooks(); new HookManager().updateHooks();
NumberUtils.reload(); NumberUtils.reload();