Remove this and used `player->getWorkerType()` instead