From b300d33db4190abb6b0bbd8bcf0ff3ba284b97c9 Mon Sep 17 00:00:00 2001 From: asofold Date: Wed, 27 Jun 2012 17:02:36 +0200 Subject: [PATCH] use Configutil.asList --- .../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 d0e1daf..7e858fe 100644 --- a/CompatNoCheatPlus/src/me/asofold/bukkit/cncp/setttings/Settings.java +++ b/CompatNoCheatPlus/src/me/asofold/bukkit/cncp/setttings/Settings.java @@ -14,8 +14,8 @@ 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.ensure-enable", Arrays.asList(new String[]{ "WorldGuard" })); + cfg.set("plugins.force-enable-later", ConfigUtil.asList(new String[]{ "NoCheatPlus" })); + cfg.set("plugins.ensure-enable", ConfigUtil.asList(new String[]{ "WorldGuard" })); return cfg; }