Fix moreblocks drop problems

This commit is contained in:
Thomas S
2017-08-10 05:22:33 +00:00
committed by adrido
parent 6e5953de5a
commit b7cef82da8
2 changed files with 4 additions and 2 deletions

View File

@ -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)