mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-08-20 04:54:09 +02:00
Fix Lua escape sequence, resolves #28
This commit is contained in:
parent
bd2ebac24e
commit
d107708bec
@ -251,7 +251,7 @@ armor.get_player_skin = function(self, name)
|
||||
elseif skin_mod == "u_skins" then
|
||||
skin = u_skins.u_skins[name]
|
||||
elseif skin_mod == "wardrobe" then
|
||||
skin = string.gsub(wardrobe.playerSkins[name], '\.png$','')
|
||||
skin = string.gsub(wardrobe.playerSkins[name], "%.png$","")
|
||||
end
|
||||
return skin or armor.default_skin
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user