diff --git a/client/main.lua b/client/main.lua index 6adcea7..45891f1 100644 --- a/client/main.lua +++ b/client/main.lua @@ -153,7 +153,7 @@ RegisterNetEvent('qbr-weapons:client:AddAmmo', function(atype, amount, itemData) }, {}, {}, {}, function() -- Done local weaponData = Weapons[weapon] if weaponData then - if weaponData.info?.quality <= 0 then + if weaponData.info?.quality and weaponData.info.quality <= 0 then return exports['qbr-core']:Notify(9, 'Cannot Reload Broken Weapon', 5000, 0, 'mp_lobby_textures', 'cross', 'COLOR_WHITE') end if atype == 'AMMO_ARROW' then diff --git a/fxmanifest.lua b/fxmanifest.lua index 454b530..c410e2b 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -3,7 +3,7 @@ game 'rdr3' rdr3_warning 'I acknowledge that this is a prerelease build of RedM, and I am aware my resources *will* become incompatible once RedM ships.' description 'QBR-Weapons' -version '1.0.2' +version '1.0.3' shared_scripts { '@qbr-core/shared/locale.lua',