From 79b72e8b761c2f54014f83e8d29c0588ec0551a8 Mon Sep 17 00:00:00 2001 From: tour <129965577+a-tour-ist@users.noreply.github.com> Date: Fri, 22 Nov 2024 21:21:37 +0100 Subject: [PATCH] Replace deprecated formspec element 'invsize' with 'size' (#37) --- moremesecons_commandblock/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moremesecons_commandblock/init.lua b/moremesecons_commandblock/init.lua index f9d63ee..da1eca4 100644 --- a/moremesecons_commandblock/init.lua +++ b/moremesecons_commandblock/init.lua @@ -5,7 +5,7 @@ local function initialize_data(meta) local commands = meta:get_string("commands") meta:set_string("formspec", - "invsize[9,5;]" .. + "size[9,5]" .. "textarea[0.5,0.5;8.5,4;commands;Commands;"..minetest.formspec_escape(commands).."]" .. "label[1,3.8;@nearest is replaced by the nearest player name ("..tostring(NEAREST_MAX_DISTANCE).." nodes max for the nearest distance)".."]" .. "button_exit[3.3,4.5;2,1;submit;Submit]")