diff --git a/depends.txt b/depends.txt index 3879b2c..4003add 100644 --- a/depends.txt +++ b/depends.txt @@ -1,4 +1,5 @@ creative? +sfinv? intllib? datastorage? farming? diff --git a/init.lua b/init.lua index f92d278..76bc3ea 100644 --- a/init.lua +++ b/init.lua @@ -65,6 +65,12 @@ if creative then end end +-- Disable sfinv inventory +local sfinv = rawget(_G, "sfinv") +if sfinv then + sfinv.enabled = false +end + dofile(modpath.."/group.lua") dofile(modpath.."/api.lua") dofile(modpath.."/internal.lua") @@ -77,4 +83,3 @@ dofile(modpath.."/item_names.lua") if minetest.get_modpath("datastorage") then dofile(modpath.."/waypoints.lua") end -