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

◆ OreHelper()

static void Terraria.WorldGen.OreHelper ( int X,
int Y )
inlinestatic

Definition at line 7042 of file WorldGen.cs.

7043 {
7044 for (int i = X - 1; i <= X + 1; i++)
7045 {
7046 for (int j = Y - 1; j <= Y + 1; j++)
7047 {
7048 if (Main.tile[i, j].type == 1 || Main.tile[i, j].type == 40)
7049 {
7050 Main.tile[i, j].type = 0;
7051 }
7052 }
7053 }
7054 }

References Terraria.Main.tile.

Referenced by Terraria.WorldGen.OrePatch().

+ Here is the caller graph for this function: