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/GetDataHandlers.cs Normal file → Executable file
View file

@ -2232,7 +2232,7 @@ namespace TShockAPI
{
var lastTileX = args.Player.LastNetPosition.X;
var lastTileY = args.Player.LastNetPosition.Y;
if (!args.Player.Teleport(lastTileX, lastTileY + 48))
if (!args.Player.Teleport(lastTileX, lastTileY ))
{
args.Player.SendErrorMessage("You got stuck in a solid object, Sent to spawn point.");
args.Player.Spawn();