get a String list if we're going to cast to that anyway

This commit is contained in:
Matt Baxter committed 2012-06-11 21:16:33 -04:00
1 parent 9c1bb413e1
commit e87cfd6dc1
1 file changed
+1 -1
@@ -152,7 +152,7 @@ public class Configuration
config.set("Enable in", w);
save();
}
worlds = (List<String>)(config.getList("Enable in"));
worlds = config.getStringList("Enable in");
if(config.getString("XRay.Log xray stats") == null)
{
config.set("XRay.Log xray stats", true);