public static boolean readWorldConfiguration(WorldConfig config) {
if (MyWorlds.isMultiverseEnabled) {
try {
// Obtain Multiverse
MultiverseCore core = CommonUtil.tryCast(CommonUtil.getPlugin("Multiverse-Core"), MultiverseCore.class);
if (core == null) {
MyWorlds.plugin.log(Level.WARNING, "Could not find Multiverse Core main plugin instance");
return false;
}
// Obtain the world configuration information in MV
MVWorldManager manager = core.getMVWorldManager();
Map<String, WorldProperties> propsMap = SafeField.get(manager, "worldsFromTheConfig");
WorldProperties world = propsMap.get(config.worldname);
// Newly created world: no configuration in MV is available
if (world == null) {