From a14010c8c650bbb781d1a6b1ebd16812048475a2 Mon Sep 17 00:00:00 2001 From: Brianna O'Keefe Date: Fri, 9 Nov 2018 17:00:32 -0500 Subject: [PATCH] fix for settings --- .../main/java/com/songoda/epichoppers/EpicHoppersPlugin.java | 3 +-- EpicHoppers-Plugin/src/main/resources/plugin.yml | 2 +- pom.xml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/EpicHoppersPlugin.java b/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/EpicHoppersPlugin.java index 4cf12c8..ff4a56a 100644 --- a/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/EpicHoppersPlugin.java +++ b/EpicHoppers-Plugin/src/main/java/com/songoda/epichoppers/EpicHoppersPlugin.java @@ -426,8 +426,7 @@ public class EpicHoppersPlugin extends JavaPlugin implements EpicHoppers { this.locale = Locale.getLocale(getConfig().getString("System.Language Mode", langMode)); this.locale.reloadMessages(); references = new References(); - reloadConfig(); - saveConfig(); + this.setupConfig(); loadLevelManager(); } diff --git a/EpicHoppers-Plugin/src/main/resources/plugin.yml b/EpicHoppers-Plugin/src/main/resources/plugin.yml index 77f9d3b..3b7950b 100644 --- a/EpicHoppers-Plugin/src/main/resources/plugin.yml +++ b/EpicHoppers-Plugin/src/main/resources/plugin.yml @@ -3,7 +3,7 @@ description: EpicHoppers main: com.songoda.epichoppers.EpicHoppersPlugin depend: [Arconix] softdepend: [WildStacker, Towny, RedProtect, Kingdoms, PlotsSquared, GriefPrevention, USkyBlock, ASkyBlock, WorldGuard, Factions, Vault] -version: 3.1.30 +version: 3.1.31 author: Songoda api-version: 1.13 commands: diff --git a/pom.xml b/pom.xml index 0647f2f..b37cc0f 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ com.songoda EpicHoppers 4.0.0 - 3.1.30 + 3.1.31 clean package