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.ymlAAFFDD!"));
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.ymlAAFFDD!"));
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.ymlAAFFDD!"));
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.ymlAAFFDD!"));