Merge remote-tracking branch 'upstream/master'

This commit is contained in:
bri cassa 2023-11-22 23:57:37 +01:00
commit ad319f1e30
2 changed files with 4 additions and 4 deletions

View File

@ -165,19 +165,19 @@ local nodes = {
}, },
["dirt_compressed"] = { ["dirt_compressed"] = {
description = S("Compressed Dirt"), description = S("Compressed Dirt"),
groups = {crumbly=2}, groups = {crumbly=2, compressed = 1},
is_ground_content = false, is_ground_content = false,
sounds = sound_dirt, sounds = sound_dirt,
}, },
["cobble_compressed"] = { ["cobble_compressed"] = {
description = S("Compressed Cobblestone"), description = S("Compressed Cobblestone"),
groups = {cracky = 1}, groups = {cracky = 1, compressed = 1},
is_ground_content = false, is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["desert_cobble_compressed"] = { ["desert_cobble_compressed"] = {
description = S("Compressed Desert Cobblestone"), description = S("Compressed Desert Cobblestone"),
groups = {cracky = 1}, groups = {cracky = 1, compressed = 1},
is_ground_content = false, is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },

View File

@ -175,7 +175,7 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam
end end
end end
if fields.drop and not (type(fields.drop) == "table") then if fields.drop and (type(fields.drop) ~= "table") then
def.drop = modname.. ":" .. category .. "_" .. fields.drop .. alternate def.drop = modname.. ":" .. category .. "_" .. fields.drop .. alternate
end end