This commit is contained in:
2021-04-06 18:18:52 +02:00
parent 5ebdbb67ca
commit 62cde419f9
4 changed files with 4 additions and 5 deletions

View File

@@ -320,7 +320,7 @@ namespace ReallifeGamemode.Server.Extensions
public static Vector3 GetInFrontOfPosition(this Player player)
{
player.TriggerEvent("SERVER:GetInFrontPosition");
return player.GetSharedData<Vector3>("InFrontOf");
return player.GetData<Vector3>("InFrontOf");
}
}
}