mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:01:22 +00:00
fix(esx_multicharacter): slots should work now
This commit is contained in:
@@ -182,7 +182,7 @@ if ESX.GetConfig().Multichar then
|
||||
elements[#elements+1] = {title = label,icon = "fa-regular fa-user", value = v.id}
|
||||
end
|
||||
end
|
||||
if #elements < slots then
|
||||
if #elements - 1 < slots then
|
||||
elements[#elements+1] = {title = _('create_char'), icon = "fa-solid fa-plus", value = (#elements+1), new = true}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user