Fix: fixes random error messages for Warning, teleport failed. - Tested for 2 hours with 15 users.

This commit is contained in:
darkunderdog 2011-09-05 10:26:16 -05:00
parent a14299ee32
commit 3ce3b05190

View file

@ -213,7 +213,7 @@ namespace TShockAPI
//150 Should avoid all client crash errors
//The error occurs when a tile trys to update which the client hasnt load yet, Clients only update tiles withen 150 blocks
//Try 300 if it does not work (Higher number - Longer load times - Less chance of error)
if (!SendTileSquare(tilex, tiley, 150))
if (!SendTileSquare(tilex, tiley))
{
InitSpawn = true;
SendWorldInfo(Main.spawnTileX, Main.spawnTileY, false);