diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index 56e00db1..8b6e21f4 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -62,10 +62,7 @@ namespace ReallifeGamemode.Server.Commands if (target.Id == player.Id) return; - Vector3 front = player.GetInFrontOfPosition(); - front.Z = player.Position.Z; - - target.Position = front; + target.SetInFrontOf(player); target.Heading = player.Heading; if (!target.HasAnimation("Cuffed"))