use minetest.global_exists

master
ChaosWormz 2015-10-18 16:02:29 +03:00
parent 4cabeb8449
commit ac122a8f04
1 changed files with 1 additions and 1 deletions

View File

@ -130,6 +130,6 @@ minetest.register_ore({
dofile(minetest.get_modpath("morestones") .. "/stairs.lua")
if minetest.get_modpath("moreblocks") then
if minetest.global_exists("stairsplus") then
dofile(minetest.get_modpath("morestones") .. "/moreblocks.lua")
end