forked from mtcontrib/darkage
Fix moreblocks drop problems
This commit is contained in:
parent
6e5953de5a
commit
b7cef82da8
@ -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")
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user