Skip to content

Commit

Permalink
Merge pull request #579 from hakos47/conflict-open-stash
Browse files Browse the repository at this point in the history
Fixed conflict with the names of some stashes.
  • Loading branch information
GhzGarage authored Nov 13, 2024
2 parents 377be96 + ee0964a commit 19c6416
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 @@ -155,8 +155,8 @@ RegisterNetEvent('qb-inventory:server:closeInventory', function(inventory)
local QBPlayer = QBCore.Functions.GetPlayer(src)
if not QBPlayer then return end
Player(source).state.inv_busy = false
if inventory:find('shop-') then return end
if inventory:find('otherplayer-') then
if inventory:find('shop%-') then return end
if inventory:find('otherplayer%-') then
local targetId = tonumber(inventory:match('otherplayer%-(.+)'))
Player(targetId).state.inv_busy = false
return
Expand Down

0 comments on commit 19c6416

Please sign in to comment.