mirror of
https://github.com/minetest-mods/skinsdb.git
synced 2024-12-23 07:50:18 +01:00
bugfix for empty metadata in chat skins list
This commit is contained in:
parent
97105d7f42
commit
34dee446cc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user