From 5efb0f67a10b28f21efe97f0b7e2f67631f3aa45 Mon Sep 17 00:00:00 2001 From: OgelGames Date: Mon, 9 Nov 2020 20:12:53 +1100 Subject: [PATCH] replace deprecated `current_name` in formspec https://github.com/minetest/minetest/blob/c940a57a384b1a75730776906451078d25c5aa52/doc/lua_api.txt#L3006 --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index c6b776a..0b6ffb0 100644 --- a/init.lua +++ b/init.lua @@ -25,9 +25,9 @@ end local base_formspec = "size[8,7.25]".. - "list[current_name;main;0,1.25;4,1;]".. + "list[context;main;0,1.25;4,1;]".. "list[current_player;main;0,3.5;8,4;]".. - "listring[current_name;main]".. + "listring[context;main]".. "listring[current_player;main]".. "image[5.4,1.2;3,1;powerbanks_battery_bg.png]".. "label[0,2.25;"..S("Charging Slots").."]"