aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/game')
-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 09e3ea999..d4ce6002f 100644
--- a/builtin/game/item.lua
+++ b/builtin/game/item.lua
@@ -519,7 +519,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