mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-03 16:40:42 +02:00
Fix stairsplus drop for desert_stone bloc
This commit is contained in:
@ -61,6 +61,8 @@ for _, name in pairs(default_nodes) do
|
||||
-- Stone and desert_stone drop cobble and desert_cobble respectively.
|
||||
if type(ndef.drop) == "string" then
|
||||
ndef.drop = ndef.drop:gsub(".+:", "")
|
||||
elseif name == "desert_stone" then
|
||||
ndef.drop = ndef.drop.items[1].items[1]:gsub(".+:", "")
|
||||
end
|
||||
|
||||
-- Use the primary tile for all sides of cut glasslike nodes and disregard paramtype2.
|
||||
|
Reference in New Issue
Block a user