refactor(getCore/client): clean up hasGroup method and return values

This commit is contained in:
Linden committed 2022-05-12 07:44:29 +10:00
1 parent 4575b5e02a
commit 139ae0701b
3 files changed
+50 -43

No files matched your search

+2
View File
@@ -158,6 +158,8 @@ local cache = setmetatable({}, {
self.serverId = GetPlayerServerId(self.playerId)
end
self.resource = GetCurrentResourceName()
if ox.groups then
self.groups = setmetatable({}, {
__index = function(groups, index)