Skip to content

Commit

Permalink
Fix AddItem putting a string into the created date field when giving …
Browse files Browse the repository at this point in the history
…starter items
  • Loading branch information
Jamesking56 authored Jun 11, 2024
1 parent 4ac9714 commit dbb516e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local function GiveStarterItems(source)
info.birthdate = Player.PlayerData.charinfo.birthdate
info.type = "Class C Driver License"
end
exports['qb-inventory']:AddItem(src, v.item, v.amount, false, info, 'qb-multicharacter:GiveStarterItems')
exports['qb-inventory']:AddItem(src, v.item, v.amount, false, info, os.time())
end
end

Expand Down

0 comments on commit dbb516e

Please sign in to comment.