Definition at line 34143 of file WorldGen.cs.
34144 {
34145 bool flag = true;
34146 int num = x - 1;
34148 for (
int i = num;
i < num + 4;
i++)
34149 {
34151 {
34152 if (Main.tile[i,
j].active())
34153 {
34154 flag = false;
34155 }
34156 }
34158 {
34159 flag = false;
34160 }
34161 }
34162 if (!flag)
34163 {
34164 return;
34165 }
34167 for (
int k = num;
k < num + 4;
k++)
34168 {
34171 {
34172 Main.tile[
k,
l].active(active:
true);
34174 {
34175 Main.tile[
k,
l].frameX = 10;
34176 Main.tile[
k,
l].frameY = 0;
34177 }
34178 else
34179 {
34182 }
34183 Main.tile[
k,
l].type =
type;
34184 Main.tile[
k,
l].active(active:
true);
34186 }
34188 }
34189 }
References Terraria.Enums.SolidTile, Terraria.Main.tile, and System.type.