From b2d82b8e0a997d7a72e6953c98cb6565f92d3860 Mon Sep 17 00:00:00 2001 From: kookroach Date: Tue, 6 Apr 2021 18:53:13 +0200 Subject: [PATCH] typo --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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"))