mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 09:18:53 +00:00
Merge pull request #1266 from Arctos2win/dev
fix player metadata can get set to false.
This commit is contained in:
@@ -785,8 +785,8 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
|
||||
return print("[^1ERROR^7] xPlayer.setMeta ^5index^7 should be ^5string^7!")
|
||||
end
|
||||
|
||||
if not value then
|
||||
return print(("[^1ERROR^7] xPlayer.setMeta ^5%s^7 is Missing!"):format(value))
|
||||
if value == nil then
|
||||
return print("[^1ERROR^7] xPlayer.setMeta value is missing!")
|
||||
end
|
||||
|
||||
local _type = type(value)
|
||||
|
||||
Reference in New Issue
Block a user