From 97bd6743f3854a4c026d3c9f201d6b406e2ece4f Mon Sep 17 00:00:00 2001 From: yiruzu Date: Thu, 19 Dec 2024 20:34:59 +0100 Subject: [PATCH 1/2] fix(qbcore-bridge): fix license check not working correctly --- bridge/server/qbcore.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/server/qbcore.lua b/bridge/server/qbcore.lua index 4f0d6b2..f1e5b12 100644 --- a/bridge/server/qbcore.lua +++ b/bridge/server/qbcore.lua @@ -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) From 16f8d010aea60c212b28acc1c4e4866147fa162c Mon Sep 17 00:00:00 2001 From: yiruzu Date: Thu, 19 Dec 2024 20:35:30 +0100 Subject: [PATCH 2/2] chore(fxmanifest): bump version from 1.1.4 to 1.1.5 --- fxmanifest.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fxmanifest.lua b/fxmanifest.lua index d05c0d1..25a1b80 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -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"