Removed dead checks.

This commit is contained in:
high 2011-06-11 20:58:56 -04:00
parent 82470d1cf1
commit 11f6ce8779

View file

@ -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();