summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-28 18:52:38 +0200
committerWuzzy <almikes@aol.com>2016-08-28 18:52:38 +0200
commit5b680134d4e86dc1ee084f91f507fc0d4d2b3001 (patch)
tree87f2f4314c0d11b76298cd544b8ff11789d626b7
parente192d268649b0ec98ec94780b1bd470a38e5f0e4 (diff)
Fix buildable_to mess once again
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index ba97845..ac8a9b6 100644
--- a/init.lua
+++ b/init.lua
@@ -352,7 +352,7 @@ doc.new_category("nodes", {
end
end
if data.def.walkable == false then
- if data.def.groups.attached_node == 1 or data.def.paramtype2 == "wallmounted" then
+ if data.def.buildable_to == false and (data.def.paramtype2 == "wallmounted" or data.def.groups.attached_node == 1) then
formstring = formstring .. "This block will drop as an item when a falling block ends up inside it.\n"
else
formstring = formstring .. "This block is destroyed when a falling block ends up inside it.\n"