Added a getter for isScanningMobs.