Edited to try and fix warp client crashes

This commit is contained in:
DarkunderdoG 2011-12-31 20:47:54 -06:00
parent 8685e8d710
commit 4a938af2ec

View file

@ -249,7 +249,7 @@ namespace TShockAPI
//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)
//Should we properly send sections so that clients don't get tiles twice?
if (!SendTileSquare(tilex, tiley))
if (!SendTileSquare(tilex, tiley, 150))
{
InitSpawn = true;
SendWorldInfo(Main.spawnTileX, Main.spawnTileY, false);