Merge pull request 'Fix referencing mistake with cracked deepslate' (#2184) from fix_ds_bricks into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2184
This commit is contained in:
cora 2022-05-06 17:24:09 +00:00
commit 40d2e3b2b1

View File

@ -381,7 +381,7 @@ local function register_deepslate_variant(item, desc, longdesc)
if item == "cobbled" then if item == "cobbled" then
def.groups.cobble = 1 def.groups.cobble = 1
end end
minetest.register_node("mcl_deepslate:deepslate_"..item, def) minetest.register_node("mcl_deepslate:deepslate_"..item, table.copy(def))
if item == "bricks" or item == "tiles" then if item == "bricks" or item == "tiles" then
def.description = S("Cracked "..desc) def.description = S("Cracked "..desc)