mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-11-17 07:40:32 +01:00
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(
|
||||
"building_blocks",
|
||||
"tar",
|
||||
@ -343,6 +353,7 @@ if minetest.get_modpath("moreblocks") then
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
}
|
||||
)
|
||||
|
||||
stairsplus:register_all(
|
||||
"building_blocks",
|
||||
"grate",
|
||||
|
Loading…
Reference in New Issue
Block a user