TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ GetRidOfCultists()

static void Terraria.WorldGen.GetRidOfCultists ( )
inlinestatic

Definition at line 80470 of file WorldGen.cs.

80471 {
80472 for (int i = 0; i < 200; i++)
80473 {
80474 if (Main.npc[i].active && (Main.npc[i].type == 437 || Main.npc[i].type == 438 || Main.npc[i].type == 379))
80475 {
80476 Main.npc[i].active = false;
80477 if (Main.netMode != 1)
80478 {
80479 NetMessage.SendData(23, -1, -1, null, i);
80480 }
80481 }
80482 }
80483 }

References Terraria.Main.netMode, Terraria.Main.npc, and Terraria.NetMessage.SendData().

+ Here is the call graph for this function: