mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-22 10:36:06 +01:00
Merge branch 'master' of https://github.com/Rigby90/MultiVerse-Core
This commit is contained in:
commit
015daf1695
@ -157,6 +157,11 @@ public class MultiVerseCore extends JavaPlugin {
|
||||
// You never know these days... bloody NPE's.
|
||||
if(lworlds != null && lworlds.size()>0){
|
||||
for (World world : lworlds){
|
||||
// If it's the default world we should probably ignore outputting it as it will just be spam.
|
||||
if((getServer().getWorlds().get(0).getName().equals(world.getName()))){
|
||||
continue;
|
||||
}
|
||||
|
||||
log.info(logPrefix + "Loading existing World - '" + world.getName() + "' - " + world.getEnvironment().toString()); // Output to the Log that we are loading a world, specify the name and environment type.
|
||||
|
||||
worlds.put(world.getName(), new MVWorld(world, MultiVerseCore.configWorlds, this, false)); // Place the World into the HashMap.
|
||||
|
Loading…
Reference in New Issue
Block a user