Add migration code to player skins using '.' delimiters

Previously, the players would have their selected skin reset.
See 'skins.__fuzzy_match_skin_name' for a detailed explanation.

This also fixes an issue where player.[name].[number].png skins
were not recognized.
This commit is contained in:
SmallJoker
2024-06-09 17:26:11 +02:00
parent 71f803e2fb
commit 00e5696eec
3 changed files with 75 additions and 4 deletions

View File

@ -26,7 +26,7 @@ The character `_` is accepted in player names, thus it is not recommended to
use such file names. For compatibility reasons, they are still recognized.
character_[number or name].png
player_[nick]_png
player_[nick].png
player_[nick]_[number or name].png
... and corresponding previews that end in `_preview.png`.