forked from mtcontrib/homedecor_modpack
building_blocks: if moreblocks is installed, un-register the tar therein
and replace it with the building_blocks version. Depends on moreblocks pull request #70
This commit is contained in:
parent
f6173b036c
commit
43f7056142
@ -332,6 +332,16 @@ if minetest.get_modpath("moreblocks") then
|
|||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
for _, i in ipairs(stairsplus.shapes_list) do
|
||||||
|
local class = i[1]
|
||||||
|
local cut = i[2]
|
||||||
|
minetest.unregister_item("moreblocks:"..class.."tar"..cut)
|
||||||
|
minetest.register_alias("moreblocks:"..class.."tar"..cut, "building_blocks:"..class.."tar"..cut)
|
||||||
|
|
||||||
|
end
|
||||||
|
minetest.unregister_item("moreblocks:tar")
|
||||||
|
|
||||||
stairsplus:register_all(
|
stairsplus:register_all(
|
||||||
"building_blocks",
|
"building_blocks",
|
||||||
"tar",
|
"tar",
|
||||||
@ -343,6 +353,7 @@ if minetest.get_modpath("moreblocks") then
|
|||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
stairsplus:register_all(
|
stairsplus:register_all(
|
||||||
"building_blocks",
|
"building_blocks",
|
||||||
"grate",
|
"grate",
|
||||||
|
Loading…
Reference in New Issue
Block a user