From 31b56063a044677f96fd00275a7eccabd4a63f43 Mon Sep 17 00:00:00 2001 From: tour <129965577+a-tour-ist@users.noreply.github.com> Date: Fri, 15 Nov 2024 11:04:14 +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 63fa702..fd1c7d2 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]")