Changed to spawnEntity since spawnCreature is deprecated