More patching to fix potential desync (thanks @bartico6)!
This commit is contained in:
parent
aa527496dc
commit
760f5518da
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue