Implement bell07's alternate inv compatibility

Closes #1
master
Lazerbeak12345 2022-04-15 20:23:38 -06:00 committed by GitHub
parent 42821416f8
commit 9c2c4dd981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ end
dofile(modpath.."/craftguide.lua")
dofile(modpath.."/reveal.lua")
if (minetest.get_modpath("sfinv") and minetest.global_exists("sfinv")) then
if (minetest.get_modpath("sfinv") and minetest.global_exists("sfinv")) and sfinv.enabled then
dofile(modpath.."/sfinv.lua")
end