Changed Cave so that the treasure's position can't be blocked or a pit