Removed broken senddata hook.

This commit is contained in:
high 2011-06-24 13:34:21 -04:00
parent 3644719c1c
commit fb0252ac7c
3 changed files with 2 additions and 166 deletions

View file

@ -142,7 +142,6 @@ namespace TShockAPI
int spawnTileY = Main.spawnTileY;
Main.spawnTileX = tileX;
Main.spawnTileY = tileY;
TShock.IsTP = true;
NetMessage.SendData((int)PacketTypes.WorldInfo, Index, -1, "", 0, 0.0f, 0.0f, 0.0f);
if (TPlayer.SpawnX >= 0 && TPlayer.SpawnY >= 0)
{
@ -160,7 +159,6 @@ namespace TShockAPI
Main.spawnTileX = spawnTileX;
Main.spawnTileY = spawnTileY;
NetMessage.SendData((int)PacketTypes.WorldInfo, Index, -1, "", 0, 0.0f, 0.0f, 0.0f);
TShock.IsTP = false;
return true;
}