mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-19 14:56:02 +01:00
Add "pre support" for jim-shops exploit security
This commit is contained in:
@@ -2688,6 +2688,13 @@ function registerShop(name, label, items, society, coords)
|
|||||||
shopExploitCheck = shopExploitCheck or {}
|
shopExploitCheck = shopExploitCheck or {}
|
||||||
shopExploitCheck[name] = shopExploitCheck[name] or {}
|
shopExploitCheck[name] = shopExploitCheck[name] or {}
|
||||||
|
|
||||||
|
if isStarted("jim-shops") then
|
||||||
|
-- Add support for new jim-shops registration export
|
||||||
|
if checkExportExists("jim-shops", "registerShop") then
|
||||||
|
exports["jim-shops"]:registerShop(name, label, items, society, coords)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
for i = 1, #InvFunc do
|
for i = 1, #InvFunc do
|
||||||
local inv = InvFunc[i]
|
local inv = InvFunc[i]
|
||||||
if isStarted(inv.invName) then
|
if isStarted(inv.invName) then
|
||||||
|
|||||||
Reference in New Issue
Block a user