2022-06-21 21:22:26 +02:00
|
|
|
local materials = stairsplus_legacy.materials
|
|
|
|
|
|
|
|
if materials.concrete_block and materials.concrete_block ~= "basic_materials:concrete_block" then
|
|
|
|
stairsplus.api.register_alias_all("basic_materials:concrete_block", materials.concrete_block)
|
|
|
|
elseif minetest.registered_nodes["basic_materials:concrete_block"] then
|
2022-06-16 01:18:11 +02:00
|
|
|
stairsplus_legacy.register_legacy("basic_materials:concrete_block")
|
|
|
|
end
|
|
|
|
|
2022-06-21 21:22:26 +02:00
|
|
|
if materials.cement_block and materials.cement_block ~= "basic_materials:cement_block" then
|
|
|
|
stairsplus.api.register_alias_all("basic_materials:cement_block", materials.cement_block)
|
|
|
|
elseif minetest.registered_nodes["basic_materials:cement_block"] then
|
2022-06-16 01:18:11 +02:00
|
|
|
stairsplus_legacy.register_legacy("basic_materials:cement_block")
|
|
|
|
end
|
|
|
|
|
2022-06-21 21:22:26 +02:00
|
|
|
if materials.brass_block and materials.brass_block ~= "basic_materials:brass_block" then
|
|
|
|
stairsplus.api.register_alias_all("basic_materials:brass_block", materials.brass_block)
|
|
|
|
elseif minetest.registered_nodes["basic_materials:brass_block"] then
|
2022-06-16 01:18:11 +02:00
|
|
|
stairsplus_legacy.register_legacy("basic_materials:brass_block")
|
|
|
|
end
|