From 8e49501534ac53b38030331e7a964995b4b22dc8 Mon Sep 17 00:00:00 2001 From: MrNewb <47620135+MrNewb@users.noreply.github.com> Date: Sun, 16 Mar 2025 07:17:20 -0400 Subject: [PATCH] patch for latest oxlib --- lib/client/utility.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/client/utility.lua b/lib/client/utility.lua index d023f07..c6263b3 100644 --- a/lib/client/utility.lua +++ b/lib/client/utility.lua @@ -245,7 +245,9 @@ Utility.RegisterPoint = function(pointID, pointCoords, pointDistance, _onEnter, _onExit(self) end, nearby = function(self) - _nearby(self) + if _nearby then + _nearby(self) + end end }) end