Fix HandleTile
This commit is contained in:
parent
3db37bb94a
commit
a6b46a2748
1 changed files with 1 additions and 4 deletions
|
|
@ -1768,10 +1768,7 @@ namespace TShockAPI
|
|||
if (OnTileEdit(args.Player, tileX, tileY, action, type, editData, style))
|
||||
return true;
|
||||
if (!TShock.Utils.TilePlacementValid(tileX, tileY) || (args.Player.Dead && TShock.Config.PreventDeadModification))
|
||||
return false;
|
||||
|
||||
if (args.Player.Dead && TShock.Config.PreventDeadModification)
|
||||
return true;
|
||||
return true;
|
||||
|
||||
if (args.Player.AwaitingName)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue