mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-11-15 15:00:19 +01:00
13 lines
382 B
Lua
13 lines
382 B
Lua
if stairsplus_legacy.has.stairs then
|
|
stairsplus.compat.override_stairs("straw", "farming:straw")
|
|
end
|
|
|
|
local farming_nodes = {"straw"}
|
|
for _, name in pairs(farming_nodes) do
|
|
local node = ("farming:%s"):format(name)
|
|
if minetest.registered_nodes[node] then
|
|
stairsplus_legacy.register_legacy(node)
|
|
stairsplus.api.register_alias_all(("moreblocks:%s"):format(name), node)
|
|
end
|
|
end
|