mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-26 18:30:19 +01:00
commandblock: replace deprecated formspec element "invsize"
This commit is contained in:
parent
b46c589a38
commit
31b56063a0
@ -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]")
|
||||
|
Loading…
Reference in New Issue
Block a user