From 34dee446ccaf4d2d4533bbebba1d651e22351c2b Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Wed, 14 Feb 2018 00:31:23 +0100 Subject: [PATCH] bugfix for empty metadata in chat skins list --- chatcommands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatcommands.lua b/chatcommands.lua index f8df4ff..c4526d8 100644 --- a/chatcommands.lua +++ b/chatcommands.lua @@ -52,7 +52,7 @@ minetest.register_chatcommand("skinsdb", { local current_skin_key = skins.get_player_skin(player):get_key() for _, skin in ipairs(list) do - local info = skin:get_key()..": name="..skin:get_meta("name").." author="..skin:get_meta("author").." license="..skin:get_meta("license") + local info = skin:get_key()..": name="..skin:get_meta_string("name").." author="..skin:get_meta_string("author").." license="..skin:get_meta_string("license") if skin:get_key() == current_skin_key then info = minetest.colorize("#00FFFF", info) end