From 4a938af2ec498186a4468b13359c21803c6daf56 Mon Sep 17 00:00:00 2001 From: DarkunderdoG Date: Sat, 31 Dec 2011 20:47:54 -0600 Subject: [PATCH] Edited to try and fix warp client crashes --- TShockAPI/TSPlayer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/TSPlayer.cs b/TShockAPI/TSPlayer.cs index 3fea44f0..044cd40d 100644 --- a/TShockAPI/TSPlayer.cs +++ b/TShockAPI/TSPlayer.cs @@ -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);