mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-11-15 18:43:56 +00:00
fix: groups nil issue if incorrect
This commit is contained in:
1 parent
29006870c3
commit
9f5bb34bdd
1 file changed
+1
-1
+1
-1
@@ -309,7 +309,7 @@ local function createCharacterTable(info)
|
||||
---@return boolean
|
||||
function self.addGroup(name, rank, isJob)
|
||||
local groupRank = tonumber(rank) or 1
|
||||
local groupInfo = Config.groups[name]
|
||||
local groupInfo = Config.groups?[name]
|
||||
-- if not groupInfo then return end
|
||||
if isJob then
|
||||
for _, group in pairs(self.groups) do
|
||||
|
||||
Reference in new issue
Block a user