try
{
String tmp_str1 = config.getString(name + ".restrict-list", "").trim();
String[] split = tmp_str1.split(",");
for (String elem : split)
restrict_list.add(new BlockId(elem));
} catch (NumberFormatException e)
{
CreeperLog.warning("[CreeperHeal] Wrong values for restrict-list field for world "
+ name);
restrict_list.clear();
restrict_list.add(new BlockId(0));
}
}