Remove unnecessary handling of teleport packet - fixes the "double teleport" glitch

This commit is contained in:
MarioE 2014-06-10 23:44:15 -04:00
parent b56f95c6d1
commit 19944db0e8

View file

@ -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)