Fix private skin variations not showing up

'player.playername.43.png' skins were not recognized
This commit is contained in:
SmallJoker 2024-06-10 18:30:25 +02:00
parent 312780c82e
commit 71f803e2fb

View File

@ -5,7 +5,7 @@ local dbgprint = false and print or function() end
local function process_skin_texture(path, filename)
-- See "textures/readme.txt" for allowed formats
local prefix, sep, identifier, extension = filename:match("^(%a+)([_.])([%w_]+)%.(%a+)$")
local prefix, sep, identifier, extension = filename:match("^(%a+)([_.])([%w_.]+)%.(%a+)$")
--[[
prefix: "character" or "player"
sep: "." (new) or "_" (legacy)