Fixed a small typing error

OnEntitySpawned should be OnEntitySpawn