Change STS to 1 tile for @bartico6's quality of life changes

Since these reverts are on a per-tile basis, we only need to revert
the first block not surrounding ones.

Note: May cause problems with dropped sand because of gravity.
This commit is contained in:
Lucas Nicodemus 2017-12-09 10:30:20 -07:00
parent 031398591a
commit 436e91c1f1

View file

@ -201,7 +201,7 @@ namespace TShockAPI
if (!TShock.Utils.TilePlacementValid(x, y))
{
args.Player.SendTileSquare(x, y, 4);
args.Player.SendTileSquare(x, y, 1);
args.Handled = true;
return;
}
@ -303,7 +303,7 @@ namespace TShockAPI
if (!TShock.Utils.TilePlacementValid(tileX, tileY))
{
args.Player.SendTileSquare(tileX, tileY, 4);
args.Player.SendTileSquare(tileX, tileY, 1);
args.Handled = true;
return;
}