From 0cec21b367ba14e3dea224ed9637fe685578f6f1 Mon Sep 17 00:00:00 2001 From: Brianna Date: Wed, 21 Aug 2019 10:15:47 -0400 Subject: [PATCH] npe --- src/main/java/com/songoda/epicvouchers/EpicVouchers.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/songoda/epicvouchers/EpicVouchers.java b/src/main/java/com/songoda/epicvouchers/EpicVouchers.java index 4dfc0c8..a77a3ef 100644 --- a/src/main/java/com/songoda/epicvouchers/EpicVouchers.java +++ b/src/main/java/com/songoda/epicvouchers/EpicVouchers.java @@ -148,7 +148,7 @@ public class EpicVouchers extends JavaPlugin { vouchersFile.reloadConfig(); loadVouchersFromFile(); reloadConfig(); - saveConfig(); + settingsManager.updateSettings(); this.locale = Locale.getLocale(getConfig().getString("System.Language Mode")); this.locale.reloadMessages(); }