diff options
| author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-10-27 14:49:25 -0400 | 
|---|---|---|
| committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-10-27 14:49:25 -0400 | 
| commit | 8ffef8e43c96f556f41fab259303ee150fd95b18 (patch) | |
| tree | 01b73ecf57bfa18f7e257ca134a86d27ea321921 /compat-chests.lua | |
| parent | 7b167224f4b31272c4f6fead20345475419a71a5 (diff) | |
| download | pipeworks-8ffef8e43c96f556f41fab259303ee150fd95b18.tar pipeworks-8ffef8e43c96f556f41fab259303ee150fd95b18.tar.gz pipeworks-8ffef8e43c96f556f41fab259303ee150fd95b18.tar.bz2 pipeworks-8ffef8e43c96f556f41fab259303ee150fd95b18.tar.xz pipeworks-8ffef8e43c96f556f41fab259303ee150fd95b18.zip | |
treat unknown node obstructing chest lid as solid
fixes #207
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 | 
