only add protected doors/chest if default minetest game found
This commit is contained in:
parent
53cadb1ada
commit
90ceaf134f
4
init.lua
4
init.lua
|
@ -689,7 +689,11 @@ minetest.register_node("protector:display_node", {
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
-- only add protected doors and chest if running default minetest
|
||||||
|
if minetest.registered_items["default:steel_ingot"] then
|
||||||
dofile(MP .. "/doors_chest.lua")
|
dofile(MP .. "/doors_chest.lua")
|
||||||
|
end
|
||||||
|
|
||||||
dofile(MP .. "/pvp.lua")
|
dofile(MP .. "/pvp.lua")
|
||||||
dofile(MP .. "/admin.lua")
|
dofile(MP .. "/admin.lua")
|
||||||
dofile(MP .. "/tool.lua")
|
dofile(MP .. "/tool.lua")
|
||||||
|
|
Loading…
Reference in New Issue