From c7d44272e627202450620dabc91774343dce4539 Mon Sep 17 00:00:00 2001 From: luk3yx Date: Tue, 6 Apr 2021 21:07:35 +1200 Subject: [PATCH] Remove deprecated invsize --- wielder.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wielder.lua b/wielder.lua index f0d79e3..22df13f 100644 --- a/wielder.lua +++ b/wielder.lua @@ -7,7 +7,7 @@ end local function set_wielder_formspec(data, meta) meta:set_string("formspec", - "invsize[8,"..(6+data.wield_inv_height)..";]".. + "size[8,"..(6+data.wield_inv_height)..";]".. "item_image[0,0;1,1;"..data.name_base.."_off]".. "label[1,0;"..minetest.formspec_escape(data.description).."]".. "list[current_name;"..minetest.formspec_escape(data.wield_inv_name)..";"..((8-data.wield_inv_width)*0.5)..",1;"..data.wield_inv_width..","..data.wield_inv_height..";]"..