mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-10-29 17:05:04 +00:00
tweak(server/player): adding job group
This commit is contained in:
1 parent
98cba87bec
commit
d5c3acbd81
1 file changed
+1
-1
+1
-1
@@ -388,7 +388,7 @@ local function createCharacterTable(info)
|
||||
---@return boolean
|
||||
function self.setJob(name, rank)
|
||||
self.removeGroup(self.job)
|
||||
local job = self.addGroup(name, rank, true)
|
||||
local job = self.addGroup(name, rank, nil, true)
|
||||
if job then
|
||||
self.job = job.name
|
||||
self.jobInfo = job
|
||||
|
||||
Reference in new issue
Block a user