Fix: fixes random error messages for Warning, teleport failed. - Tested for 2 hours with 15 users.
This commit is contained in:
parent
a14299ee32
commit
3ce3b05190
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ namespace TShockAPI
|
||||||
//150 Should avoid all client crash errors
|
//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
|
//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)
|
||||||
if (!SendTileSquare(tilex, tiley, 150))
|
if (!SendTileSquare(tilex, tiley))
|
||||||
{
|
{
|
||||||
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