From 3edeabd1fda551f1528ee8af884e10fdfebadf5c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 16 Dec 2016 12:51:09 +0100 Subject: Also check place_failed as sound --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 6044a8d..89b0f10 100644 --- a/init.lua +++ b/init.lua @@ -484,7 +484,7 @@ doc.new_category("nodes", { if data.def.diggable and is_silent(data.def, "dig") and is_silent(data.def, "dug") then silentdig = true end - if is_silent(data.def, "place") and data.itemstring ~= "air" then + if is_silent(data.def, "place") and is_silent(data.def, "place_failed") and data.itemstring ~= "air" then silentplace = true end if silentstep and silentdig and silentplace then -- cgit v1.2.3