Reverted STS change, added STSC, fixed STS/STSC usage.

This commit is contained in:
0x3fcf1bbd 2022-02-01 16:00:05 +01:00
parent 7f0daba593
commit 874b3b2746
7 changed files with 87 additions and 67 deletions

View file

@ -3895,7 +3895,7 @@ namespace TShockAPI
if (TShock.TileBans.TileIsBanned((short)TileID.LogicSensor, args.Player))
{
args.Player.SendTileSquare(x, y, 1);
args.Player.SendTileSquareCentered(x, y, 1);
args.Player.SendErrorMessage("You do not have permission to place Logic Sensors.");
return true;
}