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

◆ ItemCheck_IsValidDirtRodTarget()

static bool Terraria.Player.ItemCheck_IsValidDirtRodTarget ( Tile t)
inlinestaticprivate

Definition at line 49182 of file Player.cs.

49183 {
49184 if (t.active())
49185 {
49186 if (t.type != 0 && t.type != 2 && t.type != 23 && t.type != 109 && t.type != 199 && t.type != 477)
49187 {
49188 return t.type == 492;
49189 }
49190 return true;
49191 }
49192 return false;
49193 }

References Terraria.Tile.active(), and Terraria.Tile.type.