forked from Mirrorlandia_minetest/minetest
Builtin: Fix handle_node_drops crash with nil digger
This commit is contained in:
parent
308bb69eef
commit
b19241b9bc
@ -516,7 +516,8 @@ function core.handle_node_drops(pos, drops, digger)
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
give_item = function(item)
|
give_item = function(item)
|
||||||
return item
|
-- itemstring to ItemStack for left:is_empty()
|
||||||
|
return ItemStack(item)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user