Skip to content

Commit

Permalink
commandblock: replace deprecated formspec element "invsize"
Browse files Browse the repository at this point in the history
  • Loading branch information
a-tour-ist authored Nov 14, 2024
1 parent b46c589 commit 0120aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesecons_commandblock/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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]")
Expand Down

0 comments on commit 0120aac

Please sign in to comment.