summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-12-16 12:51:09 +0100
committerWuzzy <almikes@aol.com>2016-12-16 12:51:09 +0100
commit3edeabd1fda551f1528ee8af884e10fdfebadf5c (patch)
tree4aec52ab607227c899bb77ca6c8a4717aed268e2 /init.lua
parent839e484fcc3bd391d184e91d52992f82bec2ceb8 (diff)
Also check place_failed as sound
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
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