mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
Revert "Only show Default Inventory if Config enabled."
This reverts commit 1abd1fb5b4.
This commit is contained in:
@@ -250,9 +250,7 @@ if not Config.OxInventory then
|
|||||||
ESX.UI.ShowInventoryItemNotification(true, item, count)
|
ESX.UI.ShowInventoryItemNotification(true, item, count)
|
||||||
end
|
end
|
||||||
|
|
||||||
if Config.EnableDefaultInventory then
|
|
||||||
ESX.ShowInventory()
|
ESX.ShowInventory()
|
||||||
end
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
RegisterNetEvent('esx:removeInventoryItem')
|
RegisterNetEvent('esx:removeInventoryItem')
|
||||||
@@ -269,9 +267,7 @@ if not Config.OxInventory then
|
|||||||
ESX.UI.ShowInventoryItemNotification(false, item, count)
|
ESX.UI.ShowInventoryItemNotification(false, item, count)
|
||||||
end
|
end
|
||||||
|
|
||||||
if Config.EnableDefaultInventory then
|
|
||||||
ESX.ShowInventory()
|
ESX.ShowInventory()
|
||||||
end
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
RegisterNetEvent('esx:addWeapon')
|
RegisterNetEvent('esx:addWeapon')
|
||||||
|
|||||||
Reference in New Issue
Block a user