Fixed createPlayer() to fully use getPlayerLocation() result