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

◆ ItemCheck_IsValidDirtRodTarget()

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

Definition at line 53248 of file Player.cs.

53249 {
53250 if (t.active())
53251 {
53252 if (t.type != 0 && t.type != 2 && t.type != 23 && t.type != 109 && t.type != 199 && t.type != 477)
53253 {
53254 return t.type == 492;
53255 }
53256 return true;
53257 }
53258 return false;
53259 }

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

Referenced by Terraria.Player.ItemCheck_CheckCanUse().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: