From a6b46a2748a729521c8bcf56e1c8d536e393f9df Mon Sep 17 00:00:00 2001 From: MarioE Date: Tue, 8 Oct 2013 23:37:49 -0400 Subject: [PATCH] Fix HandleTile --- TShockAPI/GetDataHandlers.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index 24451041..2278895a 100644 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -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) {