aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/item_entity.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/item_entity.lua b/builtin/item_entity.lua
index 95affe3da..0dcc2dc2d 100644
--- a/builtin/item_entity.lua
+++ b/builtin/item_entity.lua
@@ -116,6 +116,7 @@ minetest.register_entity("__builtin:item", {
return
end
end
+ self.itemstring = ''
self.object:remove()
end,
})