From 02a1eb82ade1953ad3026f7290fa8b8dbc4fb0c9 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 14 Mar 2017 22:46:24 +0100 Subject: [PATCH] Fix item frame drop too many items after breaking --- mods/ITEMS/itemframes/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/itemframes/init.lua b/mods/ITEMS/itemframes/init.lua index 44744af2e6..c6f47d87c2 100644 --- a/mods/ITEMS/itemframes/init.lua +++ b/mods/ITEMS/itemframes/init.lua @@ -112,7 +112,7 @@ minetest.register_node("itemframes:frame",{ local meta = minetest.get_meta(pos) if clicker:get_player_name() == meta:get_string("owner") then drop_item(pos,node) - meta:set_string("item",itemstack:to_string()) + meta:set_string("item", itemstack:get_name()) update_item(pos,node) if not minetest.setting_getbool("creative_mode") then itemstack:take_item()