Seems to fix the client crash on TP glitch.
This commit is contained in:
parent
d369852998
commit
e28e2d2132
1 changed files with 1 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ namespace TShockAPI
|
|||
Main.spawnTileX = tileX;
|
||||
Main.spawnTileY = tileY;
|
||||
SendData(PacketTypes.WorldInfo);
|
||||
SendTileSquare(tileX, tileY, 30);
|
||||
if (TPlayer.SpawnX >= 0 && TPlayer.SpawnY >= 0)
|
||||
{
|
||||
Main.tile[TPlayer.SpawnX, TPlayer.SpawnY].active = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue