Fix crash after digging door

This commit is contained in:
Wuzzy 2017-01-24 09:04:13 +01:00
parent 9c6998946f
commit ddec451cad

View file

@ -239,7 +239,7 @@ function doors:register_door(name, def)
after_dig_node = function(pos, oldnode, oldmetadata, digger) after_dig_node = function(pos, oldnode, oldmetadata, digger)
pos.y = pos.y+1 pos.y = pos.y+1
after_dig_node(pos, name.."_t_2") after_dig_node(pos, name.."_t_2", digger)
end, end,
on_rightclick = function(pos, node, clicker) on_rightclick = function(pos, node, clicker)