Place hopper placement sound
This commit is contained in:
parent
9199ab2647
commit
6a2bffb078
|
@ -506,6 +506,7 @@ minetest.register_craftitem("mcl_hoppers:hopper_item", {
|
||||||
placed = true
|
placed = true
|
||||||
end
|
end
|
||||||
if placed == true then
|
if placed == true then
|
||||||
|
minetest.sound_play(default.node_sound_metal_defaults().place, { pos = pos2 })
|
||||||
if not minetest.setting_getbool("creative_mode") then
|
if not minetest.setting_getbool("creative_mode") then
|
||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
end
|
end
|
||||||
|
|
|
@ -131,8 +131,8 @@ mesecon:register_mvps_stopper("default:sign")
|
||||||
mesecon:register_mvps_stopper("default:obsidian")
|
mesecon:register_mvps_stopper("default:obsidian")
|
||||||
mesecon:register_mvps_stopper("default:bedrock")
|
mesecon:register_mvps_stopper("default:bedrock")
|
||||||
mesecon:register_mvps_stopper("default:barrier")
|
mesecon:register_mvps_stopper("default:barrier")
|
||||||
mesecon:register_mvps_stopper("hopper:hopper")
|
mesecon:register_mvps_stopper("mcl_hoppers:hopper")
|
||||||
mesecon:register_mvps_stopper("hopper:hopper_side")
|
mesecon:register_mvps_stopper("mcl_hoppers:hopper_side")
|
||||||
mesecon:register_mvps_stopper("mcl_jukebox:jukebox")
|
mesecon:register_mvps_stopper("mcl_jukebox:jukebox")
|
||||||
mesecon:register_mvps_stopper("mesecons_commandblock:commandblock_off")
|
mesecon:register_mvps_stopper("mesecons_commandblock:commandblock_off")
|
||||||
mesecon:register_mvps_stopper("mesecons_commandblock:commandblock_on")
|
mesecon:register_mvps_stopper("mesecons_commandblock:commandblock_on")
|
||||||
|
|
Loading…
Reference in New Issue