diff options
author | rubenwardy <rubenwardy@gmail.com> | 2016-08-05 21:57:23 +0100 |
---|---|---|
committer | rubenwardy <rubenwardy@gmail.com> | 2016-11-26 21:30:59 +0000 |
commit | 59f52fd481afd0451a64d87efaee1311436620d1 (patch) | |
tree | b74d0ca648136f9cb13cc11654750bd022b2c512 /init.lua | |
parent | 75a0e6a31880bb3b0412288e7add99257805e8d1 (diff) |
Disable sfinv if installed
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 - |