fixes warps, tp [name], tphere (no longer places you below the target)
This commit is contained in:
parent
e72874d5cb
commit
2569c10823
3 changed files with 9 additions and 9 deletions
2
TShockAPI/GetDataHandlers.cs
Normal file → Executable file
2
TShockAPI/GetDataHandlers.cs
Normal file → Executable 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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue