forked from minetest-mods/moreblocks
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
ad319f1e30
|
@ -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,
|
||||
},
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user