solved a  uncommon null pointer error in GameState when creating the world