Fixes #1021
This commit is contained in:
parent
b433e2f232
commit
fb2fc6772e
1 changed files with 8 additions and 0 deletions
|
|
@ -1741,6 +1741,14 @@ namespace TShockAPI
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (((Main.tile[realx, realy + 1].type == TileID.Grass && (newtile.Type == TileID.Plants || newtile.Type == TileID.Plants2))
|
||||||
|
|| (Main.tile[realx, realy + 1].type == TileID.HallowedGrass && (newtile.Type == TileID.HallowedPlants || newtile.Type == TileID.HallowedPlants2))
|
||||||
|
|| (Main.tile[realx, realy + 1].type == TileID.JungleGrass && newtile.Type == TileID.JunglePlants2))
|
||||||
|
&& size == 1 && args.Player.Accessories.Any(i => i.active && i.netID == ItemID.FlowerBoots))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Junction Box
|
// Junction Box
|
||||||
if (tile.type == TileID.WirePipe)
|
if (tile.type == TileID.WirePipe)
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue