mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-08-20 13:24:10 +02:00
Merge pull request #58 from rubenwardy/sfinv
Disable sfinv if installed
This commit is contained in:
commit
8073a3d167
@ -1,4 +1,5 @@
|
|||||||
creative?
|
creative?
|
||||||
|
sfinv?
|
||||||
intllib?
|
intllib?
|
||||||
datastorage?
|
datastorage?
|
||||||
farming?
|
farming?
|
||||||
|
7
init.lua
7
init.lua
@ -65,6 +65,12 @@ if creative then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Disable sfinv inventory
|
||||||
|
local sfinv = rawget(_G, "sfinv")
|
||||||
|
if sfinv then
|
||||||
|
sfinv.enabled = false
|
||||||
|
end
|
||||||
|
|
||||||
dofile(modpath.."/group.lua")
|
dofile(modpath.."/group.lua")
|
||||||
dofile(modpath.."/api.lua")
|
dofile(modpath.."/api.lua")
|
||||||
dofile(modpath.."/internal.lua")
|
dofile(modpath.."/internal.lua")
|
||||||
@ -77,4 +83,3 @@ dofile(modpath.."/item_names.lua")
|
|||||||
if minetest.get_modpath("datastorage") then
|
if minetest.get_modpath("datastorage") then
|
||||||
dofile(modpath.."/waypoints.lua")
|
dofile(modpath.."/waypoints.lua")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user