block-nodes aren't ground content (#58)

This commit is contained in:
Luke aka SwissalpS 2024-02-29 21:41:48 +01:00 committed by GitHub
parent c9e25aca43
commit 0d1e32ce72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -146,6 +146,7 @@ local function add_ore(modname, description, mineral_name, oredef, extra_node_de
description = S("@1 Block", S(description)), description = S("@1 Block", S(description)),
tiles = {img_base .. "_block.png"}, tiles = {img_base .. "_block.png"},
groups = {snappy = 1, bendy = 2, cracky = 1, melty = 2, level = 2}, groups = {snappy = 1, bendy = 2, cracky = 1, melty = 2, level = 2},
is_ground_content = false,
sounds = default_metal_sounds, sounds = default_metal_sounds,
}) })
minetest.register_alias(mineral_name.."_block", block_item) minetest.register_alias(mineral_name.."_block", block_item)