moreblocks/stairsplus_legacy/farming.lua

11 lines
334 B
Lua
Raw Normal View History

if stairsplus_legacy.has.stairs then
2022-06-17 02:46:09 +02:00
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)
stairsplus_legacy.register_legacy(node)
stairsplus.api.register_alias_all(("moreblocks:%s"):format(name), node)
end