Update functions.lua

This commit is contained in:
iSentrie
2025-03-10 00:11:09 +02:00
committed by GitHub
parent 45efe07743
commit 5bb75de78f
+1 -1
View File
@@ -633,7 +633,7 @@ function Core.IsPlayerAdmin(playerSrc)
return false
end
if IsPlayerAceAllowed(tostring(playerSrc), "command") or GetConvar("sv_lan", "") == "true" then
if IsPlayerAceAllowed(playerSrc --[[@as string]], "command") or GetConvar("sv_lan", "") == "true" then
return true
end