Added permission node support to PlayerSensor.