Fix getPlayerAccess incompatibility

getPlayerAccess was returning a number (1 or 0), not a boolean