From e5e74cca70236e8c648b3efef96417c30cb55a12 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 9 Jan 2017 03:29:52 +0100 Subject: [PATCH] Fix delete items 4-9 after closing crafting table --- mods/craftingpack/crafting/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/craftingpack/crafting/init.lua b/mods/craftingpack/crafting/init.lua index 2c05187141..f7f16cb012 100644 --- a/mods/craftingpack/crafting/init.lua +++ b/mods/craftingpack/crafting/init.lua @@ -130,8 +130,8 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) local size = string.len(formspec) local marker = string.sub(formspec,size-2) if marker == "inv" or marker == "wob" then - set_inventory(player) drop_fields(player,"craft") + set_inventory(player) end end end)