Builtin: Fix handle_node_drops crash with nil digger

master
SmallJoker 2017-12-12 19:19:04 +01:00
parent 308bb69eef
commit b19241b9bc
1 changed files with 2 additions and 1 deletions

View File

@ -516,7 +516,8 @@ function core.handle_node_drops(pos, drops, digger)
end
else
give_item = function(item)
return item
-- itemstring to ItemStack for left:is_empty()
return ItemStack(item)
end
end