From 3ce3b0519000fec7bbc4f21cc5b211d1adf7b3df Mon Sep 17 00:00:00 2001 From: darkunderdog Date: Mon, 5 Sep 2011 10:26:16 -0500 Subject: [PATCH] Fix: fixes random error messages for Warning, teleport failed. - Tested for 2 hours with 15 users. --- TShockAPI/TSPlayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/TSPlayer.cs b/TShockAPI/TSPlayer.cs index 30abe815..c389e34f 100644 --- a/TShockAPI/TSPlayer.cs +++ b/TShockAPI/TSPlayer.cs @@ -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);