From 6a2bffb07819a303a4f76914ef18b950daeb5b51 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 17 Jan 2017 18:42:22 +0100 Subject: [PATCH] Place hopper placement sound --- mods/mcl_hoppers/init.lua | 1 + mods/redstone/mesecons_mvps/init.lua | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mods/mcl_hoppers/init.lua b/mods/mcl_hoppers/init.lua index 831ff62643..5da4514b58 100644 --- a/mods/mcl_hoppers/init.lua +++ b/mods/mcl_hoppers/init.lua @@ -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 diff --git a/mods/redstone/mesecons_mvps/init.lua b/mods/redstone/mesecons_mvps/init.lua index 4d1b361eeb..5982d7dc3e 100644 --- a/mods/redstone/mesecons_mvps/init.lua +++ b/mods/redstone/mesecons_mvps/init.lua @@ -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")