Changed createshop to registershop

dont forget to update

usibg cache system for clothing
This commit is contained in:
gononono64 committed 2025-05-24 22:10:39 -05:00
1 parent 13e0d0bb98
commit ba111f1b52
14 files changed
+139 -15

No files matched your search

+1 -1
View File
@@ -171,7 +171,7 @@ end
-- @param shopInventory table
-- @param shopCoords table
-- @param shopGroups table
Inventory.CreateShop = function(shopTitle, shopInventory, shopCoords, shopGroups)
Inventory.RegisterShop = function(shopTitle, shopInventory, shopCoords, shopGroups)
if registeredShops[shopTitle] then return true end
registeredShops[shopTitle] = true
ox_inventory:RegisterShop(shopTitle, { name = shopTitle, inventory = shopInventory, groups = shopGroups, })