use Configutil.asList

This commit is contained in:
asofold 2012-06-27 17:02:36 +02:00
parent 1904c30df3
commit b300d33db4

View File

@ -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;
}