summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-11-03 01:54:00 +0100
committerWuzzy <almikes@aol.com>2016-11-03 01:55:19 +0100
commit6bb96be16e87621b56371f087d6551b40620b4f7 (patch)
tree07ee031b4d45024b257621cfb144c4ee4002130f /init.lua
parentd303501443f8282cbee38c919e931e4d8d3f8d6f (diff)
Fix falling_node vs block factoid
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 549e2a9..df674b7 100644
--- a/init.lua
+++ b/init.lua
@@ -392,7 +392,7 @@ doc.new_category("nodes", {
end
end
if data.def.walkable == false then
- if data.def.buildable_to == false and (data.def.paramtype2 == "wallmounted" or data.def.groups.attached_node == 1) then
+ if data.def.buildable_to == false and drop ~= "" then
datastring = datastring .. S("This block will drop as an item when a falling block ends up inside it.").."\n"
else
datastring = datastring .. S("This block is destroyed when a falling block ends up inside it.").."\n"