Fix a nullPointerException on loadConfig

-Fix a nullPointerException when loading the list of world.