Fix stairsplus drop for desert_stone bloc

This commit is contained in:
Sys Quatre 2020-07-13 16:53:41 +02:00
parent 72ef8deeae
commit e91b0ea1a0

View File

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