Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
GhzGarage authored Jul 25, 2024
2 parents 3cdd352 + 14ea2b4 commit a3fba72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,14 @@ end

-- Events

RegisterNetEvent('qb-inventory:server:openVending', function()
RegisterNetEvent('qb-inventory:server:openVending', function(data)
local src = source
local Player = QBCore.Functions.GetPlayer(src)
if not Player then return end
CreateShop({
name = 'vending',
label = 'Vending Machine',
coords = vendingMachineCoords,
coords = data.coords,
slots = #Config.VendingItems,
items = Config.VendingItems
})
Expand Down

0 comments on commit a3fba72

Please sign in to comment.