El problema es que el argumento del comando se queda separado, si te das cuenta queda:
Kernel.pbReceiveItem
(PBItems::YELLOWAPRICORN)
Puedes poner el ID del objeto en lugar el PBItems::YELLOWAPRICORN o puedes poner algo así:
i=PBItems::YELLOWAPRICORN
Kernel.pbReceiveItem(i)