mirror of
https://github.com/minetest-mods/skinsdb.git
synced 2024-11-18 07:50:23 +01:00
Fix private skin variations not showing up
'player.playername.43.png' skins were not recognized
This commit is contained in:
parent
312780c82e
commit
71f803e2fb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user