mirror of
https://github.com/minetest-mods/skinsdb.git
synced 2025-01-09 07:30:17 +01:00
bugfix
This commit is contained in:
parent
ebdcede90e
commit
23afa1d1aa
@ -52,7 +52,7 @@ minetest.register_chatcommand("skinsdb", {
|
|||||||
|
|
||||||
local current_skin_key = skins.get_player_skin(player):get_key()
|
local current_skin_key = skins.get_player_skin(player):get_key()
|
||||||
for _, skin in ipairs(list) do
|
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
|
if skin:get_key() == current_skin_key then
|
||||||
info = minetest.colorize("#00FFFF", info)
|
info = minetest.colorize("#00FFFF", info)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user