mirror of
https://github.com/adrido/darkage.git
synced 2025-01-08 17:00:19 +01:00
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:straw_bale")
|
||||||
darkage.register_stairs("darkage:tuff")
|
darkage.register_stairs("darkage:tuff")
|
||||||
darkage.register_stairs("darkage:tuff_bricks")
|
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 mod = "darkage"
|
||||||
local node = nodeName:split(":")[2]
|
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
|
end
|
||||||
elseif minetest.get_modpath("stairs") then
|
elseif minetest.get_modpath("stairs") then
|
||||||
function darkage.register_stairs(nodeName)
|
function darkage.register_stairs(nodeName)
|
||||||
|
Loading…
Reference in New Issue
Block a user