Place hopper placement sound
This commit is contained in:
parent
9199ab2647
commit
6a2bffb078
2 changed files with 3 additions and 2 deletions
|
@ -506,6 +506,7 @@ minetest.register_craftitem("mcl_hoppers:hopper_item", {
|
|||
placed = true
|
||||
end
|
||||
if placed == true then
|
||||
minetest.sound_play(default.node_sound_metal_defaults().place, { pos = pos2 })
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
itemstack:take_item()
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue