From 11f6ce877930fa95e0f2df4d440634d2c2101d9f Mon Sep 17 00:00:00 2001 From: high Date: Sat, 11 Jun 2011 20:58:56 -0400 Subject: [PATCH] Removed dead checks. --- TShockAPI/TShock.cs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index f27a6d56..e002fc87 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -290,12 +290,6 @@ namespace TShockAPI } bool HandleTile(MemoryStream data, GetDataEventArgs e) { - if (Main.player[e.Msg.whoAmI].dead) - { - Tools.ForceKick(e.Msg.whoAmI, "Manipulating tiles when dead"); - return true; - } - byte type = data.ReadInt8(); int x = data.ReadInt32(); int y = data.ReadInt32(); @@ -443,12 +437,6 @@ namespace TShockAPI bool HandleLiquidSet(MemoryStream data, GetDataEventArgs e) { - if (Main.player[e.Msg.whoAmI].dead) - { - Tools.ForceKick(e.Msg.whoAmI, "Manipulating liquids when dead"); - return true; - } - int x = data.ReadInt32(); int y = data.ReadInt32(); byte liquid = data.ReadInt8();