From 2e38ba67c959872400c82a41f76563261ec59cd9 Mon Sep 17 00:00:00 2001 From: BenceX100 Date: Thu, 31 Oct 2024 20:02:50 +0100 Subject: [PATCH] 1.9.0 --- pom.xml | 4 ++-- .../com/artillexstudios/axtrade/commands/Commands.java | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 5a959e5..5781038 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.artillexstudios AxTrade - 1.8.1 + 1.9.0 jar AxTrade @@ -116,7 +116,7 @@ com.artillexstudios.axapi axapi - 1.4.385 + 1.4.396 compile all diff --git a/src/main/java/com/artillexstudios/axtrade/commands/Commands.java b/src/main/java/com/artillexstudios/axtrade/commands/Commands.java index 9a41eb4..140538a 100644 --- a/src/main/java/com/artillexstudios/axtrade/commands/Commands.java +++ b/src/main/java/com/artillexstudios/axtrade/commands/Commands.java @@ -92,25 +92,25 @@ public class Commands implements OrphanCommand { public void reload(@NotNull CommandSender sender) { Bukkit.getConsoleSender().sendMessage(StringUtils.formatToString("�FFDD[AxTrade] &#AAFFDDReloading configuration...")); if (!CONFIG.reload()) { - MESSAGEUTILS.sendFormatted(sender, "reload.failed", Map.of("%file%", "config.yml")); + MESSAGEUTILS.sendLang(sender, "reload.failed", Map.of("%file%", "config.yml")); return; } Bukkit.getConsoleSender().sendMessage(StringUtils.formatToString("�FFDD╠ &#AAFFDDReloaded &fconfig.yml&#AAFFDD!")); if (!LANG.reload()) { - MESSAGEUTILS.sendFormatted(sender, "reload.failed", Map.of("%file%", "lang.yml")); + MESSAGEUTILS.sendLang(sender, "reload.failed", Map.of("%file%", "lang.yml")); return; } Bukkit.getConsoleSender().sendMessage(StringUtils.formatToString("�FFDD╠ &#AAFFDDReloaded &flang.yml&#AAFFDD!")); if (!GUIS.reload()) { - MESSAGEUTILS.sendFormatted(sender, "reload.failed", Map.of("%file%", "guis.yml")); + MESSAGEUTILS.sendLang(sender, "reload.failed", Map.of("%file%", "guis.yml")); return; } Bukkit.getConsoleSender().sendMessage(StringUtils.formatToString("�FFDD╠ &#AAFFDDReloaded &fguis.yml&#AAFFDD!")); if (!HOOKS.reload()) { - MESSAGEUTILS.sendFormatted(sender, "reload.failed", Map.of("%file%", "currencies.yml")); + MESSAGEUTILS.sendLang(sender, "reload.failed", Map.of("%file%", "currencies.yml")); return; } Bukkit.getConsoleSender().sendMessage(StringUtils.formatToString("�FFDD╠ &#AAFFDDReloaded &fcurrencies.yml&#AAFFDD!"));