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)
committerparamat <mat.gregory@virginmedia.com>
Fri, 16 Jun 2017 03:11:33 +0000 (04:11 +0100)
commit120e96938ddf7db55849a87bce5d5313733d95ce
tree484d3938228fde7692ab8cff3bf8aeca6b32b22b
parent502720b14de91a356fff7cd69f64d254d8c69022
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