From 0120aac472baed9ca41d0c9e6fd1551467f6f6f4 Mon Sep 17 00:00:00 2001 From: tour <129965577+a-tour-ist@users.noreply.github.com> Date: Thu, 14 Nov 2024 21:11:01 +0100 Subject: [PATCH] commandblock: replace deprecated formspec element "invsize" --- mesecons_commandblock/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesecons_commandblock/init.lua b/mesecons_commandblock/init.lua index 63fa702f..fd1c7d22 100644 --- a/mesecons_commandblock/init.lua +++ b/mesecons_commandblock/init.lua @@ -48,7 +48,7 @@ minetest.register_chatcommand("hp", { local function initialize_data(meta) local commands = minetest.formspec_escape(meta:get_string("commands")) meta:set_string("formspec", - "invsize[9,5;]" .. + "size[9,5]" .. "textarea[0.5,0.5;8.5,4;commands;Commands;"..commands.."]" .. "label[1,3.8;@nearest, @farthest, and @random are replaced by the respective player names]" .. "button_exit[3.3,4.5;2,1;submit;Submit]")