Fix nullPointerExeption when the world list is null.