Working version, except for NPE if player does not have a compass