Use ephemeral sounds

This commit is contained in:
Wuzzy 2020-04-07 00:55:45 +02:00
parent b2c75acd68
commit c5e4ec5e27
61 changed files with 123 additions and 122 deletions

View file

@ -125,7 +125,7 @@ minetest.register_craftitem("mcl_nether:nether_wart_item", {
-- Check if node above soil node allows placement
if minetest.registered_items[minetest.get_node(placepos).name].buildable_to then
-- Place nether wart
minetest.sound_play({name="default_place_node", gain=1.0}, {pos=placepos})
minetest.sound_play({name="default_place_node", gain=1.0}, {pos=placepos}, true)
minetest.set_node(placepos, {name="mcl_nether:nether_wart_0", param2 = 3})
if not minetest.settings:get_bool("creative_mode") then