Removed dead checks.
This commit is contained in:
parent
82470d1cf1
commit
11f6ce8779
1 changed files with 0 additions and 12 deletions
|
|
@ -290,12 +290,6 @@ namespace TShockAPI
|
||||||
}
|
}
|
||||||
bool HandleTile(MemoryStream data, GetDataEventArgs e)
|
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();
|
byte type = data.ReadInt8();
|
||||||
int x = data.ReadInt32();
|
int x = data.ReadInt32();
|
||||||
int y = data.ReadInt32();
|
int y = data.ReadInt32();
|
||||||
|
|
@ -443,12 +437,6 @@ namespace TShockAPI
|
||||||
|
|
||||||
bool HandleLiquidSet(MemoryStream data, GetDataEventArgs e)
|
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 x = data.ReadInt32();
|
||||||
int y = data.ReadInt32();
|
int y = data.ReadInt32();
|
||||||
byte liquid = data.ReadInt8();
|
byte liquid = data.ReadInt8();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue