Remove unnecessary handling of teleport packet - fixes the "double teleport" glitch
This commit is contained in:
parent
b56f95c6d1
commit
19944db0e8
1 changed files with 1 additions and 6 deletions
|
|
@ -3476,14 +3476,9 @@ namespace TShockAPI
|
|||
args.Player.Teleport(args.TPlayer.position.X, args.TPlayer.position.Y);
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!isNPC)
|
||||
{
|
||||
TShock.Players[id].Teleport(x, y, style);
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
private static bool HandleRaptor(GetDataHandlerArgs args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue