From 3b31b6f9c04e9e1b4927a602161122b9060fdfe8 Mon Sep 17 00:00:00 2001 From: unknown <24964441+wsor4035@users.noreply.github.com> Date: Fri, 13 May 2022 22:10:40 -0400 Subject: [PATCH] fix https://github.com/mt-mods/pipeworks/issues/31 --- wielder.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wielder.lua b/wielder.lua index 21a6126..8b66df5 100644 --- a/wielder.lua +++ b/wielder.lua @@ -24,9 +24,9 @@ local function set_wielder_formspec(data, meta) "label[1.5,1;"..minetest.formspec_escape(data.description).."]".. list_background .. "list[current_name;"..minetest.formspec_escape(data.wield_inv_name)..";"..((10-data.wield_inv_width)*0.5)..",1;"..data.wield_inv_width..","..data.wield_inv_height..";]".. - pipeworks.fs_helpers.get_inv((2+data.wield_inv_height)) - --"list[current_player;main;0,"..(2+data.wield_inv_height)..";8,4;]" .. - --"listring[]" + pipeworks.fs_helpers.get_inv((2+data.wield_inv_height)) .. + "listring[context;main]" .. + "listring[current_player;main]" ) meta:set_string("infotext", data.description) end