Fix player position being updated wrongly when teleporting
This commit is contained in:
parent
64d6d2fff1
commit
78fce47cf8
1 changed files with 2 additions and 2 deletions
|
|
@ -260,8 +260,8 @@ namespace TShockAPI
|
||||||
|
|
||||||
SendWorldInfo(Main.spawnTileX, Main.spawnTileY, false);
|
SendWorldInfo(Main.spawnTileX, Main.spawnTileY, false);
|
||||||
|
|
||||||
TPlayer.position.X = tilex;
|
TPlayer.position.X = tilex * 16;
|
||||||
TPlayer.position.Y = tiley;
|
TPlayer.position.Y = tiley * 16;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue