diff --git a/nodes.lua b/nodes.lua index a13d36a..351ab6b 100644 --- a/nodes.lua +++ b/nodes.lua @@ -165,19 +165,19 @@ local nodes = { }, ["dirt_compressed"] = { description = S("Compressed Dirt"), - groups = {crumbly=2}, + groups = {crumbly=2, compressed = 1}, is_ground_content = false, sounds = sound_dirt, }, ["cobble_compressed"] = { description = S("Compressed Cobblestone"), - groups = {cracky = 1}, + groups = {cracky = 1, compressed = 1}, is_ground_content = false, sounds = sound_stone, }, ["desert_cobble_compressed"] = { description = S("Compressed Desert Cobblestone"), - groups = {cracky = 1}, + groups = {cracky = 1, compressed = 1}, is_ground_content = false, sounds = sound_stone, }, diff --git a/stairsplus/common.lua b/stairsplus/common.lua index 0dc5945..d41eb30 100644 --- a/stairsplus/common.lua +++ b/stairsplus/common.lua @@ -175,7 +175,7 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam 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 end