fixes warps, tp [name], tphere (no longer places you below the target)

This commit is contained in:
k0rd 2013-10-01 02:12:05 -04:00
parent e72874d5cb
commit 2569c10823
3 changed files with 9 additions and 9 deletions

2
TShockAPI/TShock.cs Normal file → Executable file
View file

@ -1076,7 +1076,7 @@ namespace TShockAPI
if (RememberedPos.GetLeavePos(player.Name, player.IP) != Vector2.Zero){
var pos = RememberedPos.GetLeavePos(player.Name, player.IP);
player.Teleport(pos.X*16, pos.Y*16 + 48);
player.Teleport(pos.X*16, pos.Y*16 );
}}
Item i = new Item();