I'm trying to get ore to spawn at the bottom of the cavern layer after a
boss has been defeated, and it isn't spawning in the ore. Does anyone
know how I could fix this? I can't get help anywhere else. Thanks!
if (npc.type == NPCID.EyeofCthulhu)