Slight fix in EntitySpawner initialization.