Fixed crashing error in World.java for out of map.