if (worlds.isEmpty()) {
return;
}
//Register protection service used for spawn protection.
getEngine().getServiceManager().register(ProtectionService.class, new VanillaProtectionService(), this, ServiceManager.ServicePriority.Highest);
for (World world : worlds) {
// Keep spawn loaded
WorldConfigurationNode worldConfig = VanillaConfiguration.WORLDS.get(world);