mirror of
https://github.com/Artillex-Studios/AxTrade.git
synced 2025-01-04 18:47:51 +01:00
1.9.0
This commit is contained in:
parent
2f4dbc331d
commit
2e38ba67c9
4
pom.xml
4
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.artillexstudios</groupId>
|
||||
<artifactId>AxTrade</artifactId>
|
||||
<version>1.8.1</version>
|
||||
<version>1.9.0</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>AxTrade</name>
|
||||
@ -116,7 +116,7 @@
|
||||
<dependency>
|
||||
<groupId>com.artillexstudios.axapi</groupId>
|
||||
<artifactId>axapi</artifactId>
|
||||
<version>1.4.385</version>
|
||||
<version>1.4.396</version>
|
||||
<scope>compile</scope>
|
||||
<classifier>all</classifier>
|
||||
</dependency>
|
||||
|
@ -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!"));
|
||||
|
Loading…
Reference in New Issue
Block a user