From bc2867984cd3a25ff76864762da8b121268c1a09 Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Tue, 6 May 2025 10:53:34 +0100 Subject: [PATCH] Version Bump `2.0.05` - `2.0.06` --- fxmanifest.lua | 2 +- shared/inventories.lua | 6 ++++-- version.txt | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/fxmanifest.lua b/fxmanifest.lua index 4d09e53..0ef6e60 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -1,6 +1,6 @@ name "Jim_Bridge" author "Jimathy" -version "2.0.05" +version "2.0.06" description "Framework Bridge By Jimathy" fx_version "cerulean" rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' diff --git a/shared/inventories.lua b/shared/inventories.lua index 0003eb0..85a49c3 100644 --- a/shared/inventories.lua +++ b/shared/inventories.lua @@ -186,10 +186,12 @@ function isInventoryOpen() return exports[CoreInv]:isInventoryOpen() elseif isStarted(CodeMInv) then - return false -- CodeM doesn't have a function to check if the inventory is open + return false + -- CodeM doesn't have a function to check if the inventory is open + -- No idea what it uses, so it just skips the check elseif isStarted(TgiannInv) then - return exports["tgiann-inventory"]:IsInventoryActive() + return exports[TgiannInv]:IsInventoryActive() elseif isStarted(QBInv) then return LocalPlayer.state.inv_busy diff --git a/version.txt b/version.txt index 98774a6..94dafba 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.05 \ No newline at end of file +2.0.06 \ No newline at end of file