fix at mod loadtime warning in mcl_info

This commit is contained in:
cora 2022-08-09 01:32:48 +02:00
parent 2436a6d616
commit 9603ee606c

View file

@ -106,7 +106,7 @@ local function info()
end end
after(refresh_interval, info) after(refresh_interval, info)
end end
info() minetest.after(0,info)
minetest.register_on_leaveplayer(function(p) minetest.register_on_leaveplayer(function(p)
local name = p:get_player_name() local name = p:get_player_name()