53077 {
53079 if (Main.netMode == 1)
53080 {
53081 return;
53082 }
53083 if ((Main.tile[x, y].type == 549 && Main.tile[x, y].liquid < 200) || Main.tile[x, y - 1].liquid < 200)
53084 {
53085 if (Main.tile[x, y].active() && Main.tile[x, y].type == 549 &&
genRand.Next(2) == 0)
53086 {
53088 if (Main.netMode == 2)
53089 {
53090 NetMessage.SendData(17, -1, -1, null, 0, x, y);
53091 }
53092 }
53093 }
53094 else
53095 {
53096 if (Main.tile[x, y - 1].active() || Main.tile[x, y - 2].active() ||
genRand.Next(
maxValue) != 0 || Main.tile[x, y - 2].liquid !=
byte.MaxValue || Main.tile[x, y - 3].liquid !=
byte.MaxValue)
53097 {
53098 return;
53099 }
53104 for (
int i = x -
num2; i <= x +
num2; i++)
53105 {
53106 for (
int j = y;
j <= y +
num2 * 3;
j++)
53107 {
53108 if (Main.tile[i,
j].active() && Main.tile[i,
j].type == 549)
53109 {
53112 {
53113 return;
53114 }
53115 }
53116 }
53117 }
53119 for (
k = y; !
SolidTile(x,
k) &&
k < Main.maxTilesY - 50;
k++)
53120 {
53121 }
53123 {
53125 if (Main.netMode == 2)
53126 {
53127 NetMessage.SendTileSquare(-1, x, y - 1);
53128 }
53129 }
53130 }
53131 }
static void KillTile(int i, int j, bool fail=false, bool effectOnly=false, bool noItem=false)
static bool PlaceTile(int i, int j, int Type, bool mute=false, bool forced=false, int plr=-1, int style=0)
static UnifiedRandom genRand