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>
<artifactId>AxTrade</artifactId>
<version>1.10.1</version>
<version>1.11.0</version>
<packaging>jar</packaging>
<name>AxTrade</name>
@ -116,7 +116,7 @@
<dependency>
<groupId>com.artillexstudios.axapi</groupId>
<artifactId>axapi</artifactId>
<version>1.4.403</version>
<version>1.4.435</version>
<scope>compile</scope>
<classifier>all</classifier>
</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.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);
}
}

View File

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