Edited to try and fix warp client crashes
This commit is contained in:
parent
8685e8d710
commit
4a938af2ec
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
//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)
|
//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?
|
//Should we properly send sections so that clients don't get tiles twice?
|
||||||
if (!SendTileSquare(tilex, tiley))
|
if (!SendTileSquare(tilex, tiley, 150))
|
||||||
{
|
{
|
||||||
InitSpawn = true;
|
InitSpawn = true;
|
||||||
SendWorldInfo(Main.spawnTileX, Main.spawnTileY, false);
|
SendWorldInfo(Main.spawnTileX, Main.spawnTileY, false);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue