From 28e8b9534565fc153991a7b3c27998c6fd8f9e63 Mon Sep 17 00:00:00 2001 From: hydrant Date: Sun, 11 Apr 2021 02:18:22 +0200 Subject: [PATCH] fix anticheat --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index b4495950..4eaf5de2 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -692,7 +692,7 @@ namespace ReallifeGamemode.Server.Commands { Vector3 playerPosition = new Vector3(player.Position.X, player.Position.Y - value, player.Position.Z); if (player.IsInVehicle && player.VehicleSeat == 0) player.Vehicle.Position = playerPosition; - elseplayer.SafeTeleport(playerPosition); + else player.SafeTeleport(playerPosition); } else if (playerHeading >= 135 && playerHeading < 225) {