Skip to content

Commit

Permalink
1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BenceX100 committed Dec 8, 2024
1 parent 5a10404 commit 98dcea3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 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>AxAFKZone</artifactId>
<version>1.3.1</version>
<version>1.4.0</version>
<packaging>jar</packaging>

<name>AxAFKZone</name>
Expand Down Expand Up @@ -114,7 +114,7 @@
<dependency>
<groupId>com.artillexstudios.axapi</groupId>
<artifactId>axapi</artifactId>
<version>1.4.396</version>
<version>1.4.435</version>
<scope>compile</scope>
<exclusions>
<exclusion>
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/artillexstudios/axafkzone/AxAFKZone.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,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.libs.libby.BukkitLibraryManager;
import com.artillexstudios.axapi.utils.FeatureFlags;
import com.artillexstudios.axapi.utils.MessageUtils;
import com.artillexstudios.axapi.utils.featureflags.FeatureFlags;
import net.kyori.adventure.platform.bukkit.BukkitAudiences;
import org.bstats.bukkit.Metrics;

Expand Down Expand Up @@ -74,8 +74,8 @@ 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 updateFlags(FeatureFlags flags) {
flags.USE_LEGACY_HEX_FORMATTER.set(true);
}

public void disable() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ public void reload(@NotNull CommandSender sender) {
}
Bukkit.getConsoleSender().sendMessage(StringUtils.formatToString("&#CC0055╠ &#FF8855Reloaded &flang.yml&#FF8855!"));

Commands.registerCommand();

NumberUtils.reload();
FileUtils.loadAll();

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefix: "<gradient:#FF8800:#CC0055><b>AxAFKZone</b></gradient> &7» "
timer-format: 1

# you must define at least 1
# reloading will add new commands, however a restart is recommended when editing this
# requires a restart to update
command-aliases:
- "axafkzone"
- "afkzone"
Expand Down

0 comments on commit 98dcea3

Please sign in to comment.