diff options
author | root <root@linuxworks.belug.de> | 2017-11-11 11:26:39 +0100 |
---|---|---|
committer | root <root@linuxworks.belug.de> | 2017-11-11 11:26:39 +0100 |
commit | aee5397c713c84ac37d85d55c14122f5214eac3b (patch) | |
tree | 4055f32fab07863ead3c292d2077eccf1235c574 /compat-chests.lua | |
parent | 31a6107b82ba1373289423b414b54b2818e61f3c (diff) | |
parent | 8fa259c93fbef467822f710a33537a76f608b7cb (diff) |
Merge branch 'master' of https://github.com/minetest-mods/pipeworks
Diffstat (limited to 'compat-chests.lua')
-rw-r--r-- | compat-chests.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compat-chests.lua b/compat-chests.lua index 69eb2f1..78d865b 100644 --- a/compat-chests.lua +++ b/compat-chests.lua @@ -44,6 +44,7 @@ local function chest_lid_obstructed(pos) local above = { x = pos.x, y = pos.y + 1, z = pos.z } local def = minetest.registered_nodes[minetest.get_node(above).name] -- allow ladders, signs, wallmounted things and torches to not obstruct + if not def then return true end if def.drawtype == "airlike" or def.drawtype == "signlike" or def.drawtype == "torchlike" or |