forked from minetest-mods/moreblocks
Fix stairsplus drop for desert_stone bloc
This commit is contained in:
parent
72ef8deeae
commit
e91b0ea1a0
@ -61,6 +61,8 @@ for _, name in pairs(default_nodes) do
|
|||||||
-- Stone and desert_stone drop cobble and desert_cobble respectively.
|
-- Stone and desert_stone drop cobble and desert_cobble respectively.
|
||||||
if type(ndef.drop) == "string" then
|
if type(ndef.drop) == "string" then
|
||||||
ndef.drop = ndef.drop:gsub(".+:", "")
|
ndef.drop = ndef.drop:gsub(".+:", "")
|
||||||
|
elseif name == "desert_stone" then
|
||||||
|
ndef.drop = ndef.drop.items[1].items[1]:gsub(".+:", "")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Use the primary tile for all sides of cut glasslike nodes and disregard paramtype2.
|
-- Use the primary tile for all sides of cut glasslike nodes and disregard paramtype2.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user