Player position updated on teleport

This commit is contained in:
high 2011-09-26 21:49:45 -04:00
parent c2f52cec07
commit c9aefef1d7
2 changed files with 5 additions and 2 deletions

View file

@ -36,5 +36,5 @@ using System.Runtime.InteropServices;
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3.4.0925")]
[assembly: AssemblyFileVersion("3.3.4.0925")]
[assembly: AssemblyVersion("3.3.4.0926")]
[assembly: AssemblyFileVersion("3.3.4.0926")]

View file

@ -224,6 +224,9 @@ namespace TShockAPI
SendWorldInfo(Main.spawnTileX, Main.spawnTileY, false);
TPlayer.position.X = tilex;
TPlayer.position.Y = tiley;
return true;
}