diff --git a/stairs.lua b/stairs.lua index 07fc786..1f2e988 100644 --- a/stairs.lua +++ b/stairs.lua @@ -26,5 +26,4 @@ darkage.register_stairs("darkage:stone_brick") darkage.register_stairs("darkage:straw_bale") darkage.register_stairs("darkage:tuff") darkage.register_stairs("darkage:tuff_bricks") -darkage.register_stairs("farming:straw") diff --git a/stairs_functions.lua b/stairs_functions.lua index 9a321b3..88c1cd2 100644 --- a/stairs_functions.lua +++ b/stairs_functions.lua @@ -7,7 +7,10 @@ if minetest.get_modpath("moreblocks") then local mod = "darkage" local node = nodeName:split(":")[2] - stairsplus:register_all(mod, node, nodeName, ndef) + local def = table.copy(ndef) + def.drop = nil + + stairsplus:register_all(mod, node, nodeName, def) end elseif minetest.get_modpath("stairs") then function darkage.register_stairs(nodeName)