More patching to fix potential desync (thanks @bartico6)!

This commit is contained in:
Lucas Nicodemus 2017-12-09 01:50:58 -07:00
parent aa527496dc
commit 760f5518da

View file

@ -201,12 +201,14 @@ namespace TShockAPI
if (!TShock.Utils.TilePlacementValid(x, y))
{
args.Player.SendTileSquare(tileX, tileY, 4);
args.Handled = true;
return;
}
if (args.Player.Dead && TShock.Config.PreventDeadModification)
{
args.Player.SendTileSquare(tileX, tileY, 4);
args.Handled = true;
return;
}