From f6b666220f72b740eba7b4b746a44638f5ea14db Mon Sep 17 00:00:00 2001 From: asofold Date: Sun, 24 Jun 2012 03:18:45 +0200 Subject: [PATCH] change config path --- .../src/me/asofold/bukkit/cncp/setttings/Settings.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CompatNoCheatPlus/src/me/asofold/bukkit/cncp/setttings/Settings.java b/CompatNoCheatPlus/src/me/asofold/bukkit/cncp/setttings/Settings.java index 00b9f3e..7a690d2 100644 --- a/CompatNoCheatPlus/src/me/asofold/bukkit/cncp/setttings/Settings.java +++ b/CompatNoCheatPlus/src/me/asofold/bukkit/cncp/setttings/Settings.java @@ -15,7 +15,7 @@ public class Settings { public static CompatConfig getDefaultConfig(){ CompatConfig cfg = new NewConfig(null); cfg.set("plugins.force-enable-later", Arrays.asList(new String[]{ "NoCheatPlus" })); - cfg.set("plugins.load", Arrays.asList(new String[]{ "WorldGuard" })); + cfg.set("plugins.ensure-enable", Arrays.asList(new String[]{ "WorldGuard" })); return cfg; } @@ -26,7 +26,7 @@ public class Settings { public boolean fromConfig(CompatConfig cfg){ // plugins to force enabling after this plugin. ConfigUtil.readStringSetFromList(cfg, "plugins.force-enable-later", forceEnableLater, true, true, false); - ConfigUtil.readStringSetFromList(cfg, "plugins.load", loadPlugins, true, true, false); + ConfigUtil.readStringSetFromList(cfg, "plugins.ensure-enable", loadPlugins, true, true, false); return true; }