Fix HandleTile

This commit is contained in:
MarioE 2013-10-08 23:37:49 -04:00
parent 3db37bb94a
commit a6b46a2748

View file

@ -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)
{