Terraria.ModLoader.GlobalNPC.CheckActive C# (CSharp) Method