Skip to content

Commit

Permalink
Update server/player.lua
Browse files Browse the repository at this point in the history
Co-authored-by: David Malchin <[email protected]>
  • Loading branch information
mafewtm and D4isDAVID authored Oct 31, 2024
1 parent 4734117 commit c7044d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/player.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ exports('SetMetadata', SetMetadata)
---@param metadata string
---@return any
function GetMetadata(identifier, metadata)
if not metadata or type(metadata) ~= 'string' then return end
if type(metadata) ~= 'string' then return end

local player = type(identifier) == 'string' and (GetPlayerByCitizenId(identifier) or GetOfflinePlayer(identifier)) or GetPlayer(identifier)

Expand Down

0 comments on commit c7044d1

Please sign in to comment.