Skip to content

Commit

Permalink
1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BenceX100 committed Dec 8, 2024
1 parent 3ee7c55 commit 788c0b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.artillexstudios</groupId>
<artifactId>AxRankMenu</artifactId>
<version>1.8.0</version>
<version>1.9.0</version>
<packaging>jar</packaging>

<name>AxRankMenu</name>
Expand Down Expand Up @@ -116,7 +116,7 @@
<dependency>
<groupId>com.artillexstudios.axapi</groupId>
<artifactId>axapi</artifactId>
<version>1.4.396</version>
<version>1.4.435</version>
<scope>compile</scope>
<classifier>all</classifier>
</dependency>
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/artillexstudios/axrankmenu/AxRankMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import com.artillexstudios.axapi.libs.boostedyaml.boostedyaml.settings.loader.LoaderSettings;
import com.artillexstudios.axapi.libs.boostedyaml.boostedyaml.settings.updater.UpdaterSettings;
import com.artillexstudios.axapi.scheduler.Scheduler;
import com.artillexstudios.axapi.utils.FeatureFlags;
import com.artillexstudios.axapi.utils.MessageUtils;
import com.artillexstudios.axapi.utils.featureflags.FeatureFlags;
import com.artillexstudios.axrankmenu.commands.Commands;
import com.artillexstudios.axrankmenu.gui.GuiUpdater;
import com.artillexstudios.axrankmenu.hooks.HookManager;
Expand Down Expand Up @@ -58,8 +58,8 @@ public void disable() {
GuiUpdater.stop();
}

public void updateFlags() {
FeatureFlags.USE_LEGACY_HEX_FORMATTER.set(true);
FeatureFlags.PACKET_ENTITY_TRACKER_ENABLED.set(false);
public void updateFlags(FeatureFlags flags) {
flags.USE_LEGACY_HEX_FORMATTER.set(true);
flags.PACKET_ENTITY_TRACKER_ENABLED.set(false);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ public void reload(@NotNull Player sender) {
}

new HookManager().updateHooks();
Commands.registerCommand();

MESSAGEUTILS.sendLang(sender, "reload.success");
}
Expand Down

0 comments on commit 788c0b7

Please sign in to comment.