Chests: Check 'def' of node above chest to avoid crash
authorparamat <paramat@users.noreply.github.com>
Fri, 16 Jun 2017 02:47:12 +0000 (03:47 +0100)
committersfan5 <sfan5@live.de>
Sun, 19 Nov 2017 21:53:14 +0000 (22:53 +0100)
commitda41caca66e7739743128e9e3d9c148718226f2d
tree78d6b5965a5c7097af6ae9dd6b77b11d92d01976
parent103af98864487a8f2e8224102b505c8d657f49a4
Chests: Check 'def' of node above chest to avoid crash

In 'chest_lid_obstructed(pos)' check for nil 'def' to avoid a crash caused by
an unknown node above the chest.
mods/default/nodes.lua