mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-14 15:11:05 +01:00
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
|
||||
|
|
|
@ -131,8 +131,8 @@ mesecon:register_mvps_stopper("default:sign")
|
|||
mesecon:register_mvps_stopper("default:obsidian")
|
||||
mesecon:register_mvps_stopper("default:bedrock")
|
||||
mesecon:register_mvps_stopper("default:barrier")
|
||||
mesecon:register_mvps_stopper("hopper:hopper")
|
||||
mesecon:register_mvps_stopper("hopper:hopper_side")
|
||||
mesecon:register_mvps_stopper("mcl_hoppers:hopper")
|
||||
mesecon:register_mvps_stopper("mcl_hoppers:hopper_side")
|
||||
mesecon:register_mvps_stopper("mcl_jukebox:jukebox")
|
||||
mesecon:register_mvps_stopper("mesecons_commandblock:commandblock_off")
|
||||
mesecon:register_mvps_stopper("mesecons_commandblock:commandblock_on")
|
||||
|
|
Loading…
Reference in a new issue