Skip to content

Commit

Permalink
feat: item name reflects photo's name
Browse files Browse the repository at this point in the history
  • Loading branch information
TonybynMp4 committed Oct 17, 2024
1 parent fd31255 commit fef9a4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ lib.callback.register('y_camera:server:editItem', function(source, slot, input)
if not slotData then return false end
slotData.metadata.title = input[1]
slotData.metadata.description = input[2]
slotData.metadata.label = input[1]

exports.ox_inventory:SetMetadata(source, slot, slotData.metadata)
return true
Expand Down

0 comments on commit fef9a4b

Please sign in to comment.