attempting to fix client/server tile disagreements after teleporting

This commit is contained in:
k0rd 2012-01-29 03:07:19 -05:00
parent 1e8cb04fdd
commit ccda71027b

View file

@ -270,6 +270,9 @@ namespace TShockAPI
TPlayer.position.X = (float)(tilex * 16 + 8 - TPlayer.width /2);
TPlayer.position.Y = (float)(tiley * 16 - TPlayer.height);
//We need to send the tile data again to prevent clients from thinking they *really* destroyed blocks just now.
SendTileSquare(tilex, tiley, 150);
return true;
}