This commit is contained in:
Brianna O'Keefe 2018-09-23 15:30:56 -04:00
parent 81e167dd46
commit 409cb860f0

View File

@ -307,9 +307,10 @@ public class EpicHoppersPlugin extends JavaPlugin implements EpicHoppers {
private void setupConfig() {
settingsManager.updateSettings();
ConfigurationSection levels = getConfig().createSection("settings.levels");
if (!getConfig().contains("settings.levels.Level-1")) {
ConfigurationSection levels =
getConfig().createSection("settings.levels");
if (!levels.contains("Level-1")) {
levels.set("Level-1.Range", 10);
levels.set("Level-1.Amount", 1);
levels.set("Level-1.Cost-xp", 20);