From 191f548f5a67bbb2bc51a251998aaaaae1ac4e00 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Sat, 8 Jul 2023 03:29:18 +0200 Subject: [PATCH] Fixes order of arguments when reloading the language --- src/main/java/net/knarcraft/blacksmith/BlacksmithPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/knarcraft/blacksmith/BlacksmithPlugin.java b/src/main/java/net/knarcraft/blacksmith/BlacksmithPlugin.java index d9153f0..1f50ca5 100644 --- a/src/main/java/net/knarcraft/blacksmith/BlacksmithPlugin.java +++ b/src/main/java/net/knarcraft/blacksmith/BlacksmithPlugin.java @@ -77,7 +77,7 @@ public class BlacksmithPlugin extends JavaPlugin { public void reload() { this.reloadConfig(); config.load(); - translator.loadLanguages(this.getDataFolder(), this.getConfig().getString("language", "en"), "en"); + translator.loadLanguages(this.getDataFolder(), "en", this.getConfig().getString("language", "en")); } /**