properly detect and use sounds from default/mcl

This commit is contained in:
tenplus1
2024-08-11 08:47:26 +01:00
parent a74a29c849
commit cdac09a8f4
44 changed files with 119 additions and 91 deletions

View File

@ -25,7 +25,7 @@ minetest.register_node("farming:cotton_wild", {
{items = {"farming:seed_cotton"}, rarity = 1}
}
},
sounds = farming.sounds.node_sound_leaves_defaults(),
sounds = farming.node_sound_leaves_defaults(),
selection_box = {
type = "fixed",
fixed = {-6 / 16, -8 / 16, -6 / 16, 6 / 16, 5 / 16, 6 / 16}
@ -124,7 +124,7 @@ local def = {
},
_mcl_hardness = farming.mcl_hardness,
is_ground_content = false,
sounds = farming.sounds.node_sound_leaves_defaults()
sounds = farming.node_sound_leaves_defaults()
}
-- stage 1