fix: query command cleaning up

This commit is contained in:
Sachin 2025-07-15 12:52:22 +05:30
parent a758b9a7a7
commit 1118939e62
2 changed files with 63 additions and 82 deletions

View file

@ -169,9 +169,9 @@ public static class PlayerExtensions
)
{
controller.PlayerPawn.Value.Teleport(
target.PlayerPawn.Value.AbsOrigin,
target.PlayerPawn.Value.AbsRotation,
target.PlayerPawn.Value.AbsVelocity
target.PlayerPawn.Value.AbsOrigin!.ToVector_t(),
target.PlayerPawn.Value.AbsRotation!.ToQAngle_t(),
target.PlayerPawn.Value.AbsVelocity.ToVector_t()
);
}
}