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

◆ CheckSeaOat()

static bool Terraria.WorldGen.CheckSeaOat ( int x,
int y )
inlinestaticprivate

Definition at line 52471 of file WorldGen.cs.

52472 {
52473 if (!SeaOatWaterCheck(x, y))
52474 {
52475 KillTile(x, y);
52476 if (Main.netMode == 2)
52477 {
52478 NetMessage.SendData(17, -1, -1, null, 0, x, y);
52479 }
52480 return false;
52481 }
52482 return true;
52483 }
static void KillTile(int i, int j, bool fail=false, bool effectOnly=false, bool noItem=false)
static bool SeaOatWaterCheck(int x, int y)

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

+ Here is the call graph for this function: