fix: index id twice

This commit is contained in:
Andyyy7666
2022-12-25 16:46:25 +01:00
committed by GitHub
parent 68563c6d18
commit aa73db1111

View File

@@ -68,7 +68,7 @@ end)
-- Update the characters clothes. -- Update the characters clothes.
RegisterNetEvent("ND:updateClothes", function(clothing) RegisterNetEvent("ND:updateClothes", function(clothing)
local player = source local player = source
local character = NDCore.Players[player].id local character = NDCore.Players[player]
NDCore.Functions.SetPlayerData(character.id, "clothing", clothing) NDCore.Functions.SetPlayerData(character.id, "clothing", clothing)
end) end)