mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 19:02:26 +01:00
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
|
||||
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 New Issue
Block a user