Merge branch 'master' of github.com:TShock/TShock

This commit is contained in:
high 2011-06-20 17:07:42 -04:00
commit df7b0e8f57
2 changed files with 13 additions and 3 deletions

View file

@ -415,8 +415,8 @@ namespace TShockAPI
{
int oldSpawnX = Main.spawnTileX;
int oldSpawnY = Main.spawnTileY;
Main.spawnTileX = x;
Main.spawnTileY = y;
Main.spawnTileX = x/16;
Main.spawnTileY = y/16;
//Send only that player the new spawn point data
NetMessage.SendData(7, ply, -1, "", 0, 0f, 0f, 0f);
//Force them to respawn