Skip to content

Commit

Permalink
Merge pull request #6 from yiruzu/fix-qbcore-license-check
Browse files Browse the repository at this point in the history
fix(qbcore-bridge): fix license check not working correctly
  • Loading branch information
yiruzu authored Dec 19, 2024
2 parents 0066989 + 16f8d01 commit aef5d73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bridge/server/qbcore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ local function HasLicense(source, licenseType)
local Player = GetPlayerId(source)
if not Player then return false end

return Player.PlayerData.metadata.licences[licenseType] ~= nil
return Player.PlayerData.metadata.licences[licenseType]
end

local function BuyLicense(source, shopData)
Expand Down
2 changes: 1 addition & 1 deletion fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use_experimental_fxv2_oal "yes"

author "yiruzu"
description "Cloud Resources - Shop"
version "1.1.4"
version "1.1.5"

discord "https://discord.gg/jAnEnyGBef"
repository "https://github.com/yiruzu/cloud-shop"
Expand Down

0 comments on commit aef5d73

Please sign in to comment.