Skip to content

Commit

Permalink
Remove unused export
Browse files Browse the repository at this point in the history
  • Loading branch information
GhzGarage committed May 24, 2024
1 parent 334c179 commit ed5388d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions server/commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ QBCore.Commands.Add('giveitem', 'Give An Item (Admin Only)', { { name = 'id', he
info.uses = 20
elseif itemData['name'] == 'markedbills' then
info.worth = math.random(5000, 10000)
elseif itemData['name'] == 'labkey' then
info.lab = exports['qb-methlab']:GenerateRandomLab()
elseif itemData['name'] == 'printerdocument' then
info.url = 'https://cdn.discordapp.com/attachments/870094209783308299/870104331142189126/Logo_-_Display_Picture_-_Stylized_-_Red.png'
end
Expand Down
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ QBCore.Functions.CreateCallback('qb-inventory:server:attemptPurchase', function(

if Player.PlayerData.money.cash >= price then
Player.Functions.RemoveMoney('cash', price, 'shop-purchase')
AddItem(source, itemInfo.name, amount, nil, itemInfo.info)
AddItem(source, itemInfo.name, amount, nil, itemInfo.info, 'shop-purchase')
TriggerEvent('qb-shops:server:UpdateShopItems', shop, itemInfo, amount)
cb(true)
else
Expand Down

0 comments on commit ed5388d

Please sign in to comment.