aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/item.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/game/item.lua')
-rw-r--r--builtin/game/item.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/game/item.lua b/builtin/game/item.lua
index c7cbdd988..5e5696ff5 100644
--- a/builtin/game/item.lua
+++ b/builtin/game/item.lua
@@ -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