mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-24 03:21:05 +01:00
Fix mcl_skins crash with YOLO mod
This commit is contained in:
parent
bd4337a2dc
commit
d00fa6e99e
1 changed files with 2 additions and 0 deletions
|
@ -161,6 +161,8 @@ function mcl_skins.update_player_skin(player)
|
||||||
end
|
end
|
||||||
|
|
||||||
local skin = mcl_skins.player_skins[player]
|
local skin = mcl_skins.player_skins[player]
|
||||||
|
if not skin then return end
|
||||||
|
|
||||||
local skinval = mcl_skins.compile_skin(skin)
|
local skinval = mcl_skins.compile_skin(skin)
|
||||||
|
|
||||||
if not skin.cape then skin.cape = "blank.png" end
|
if not skin.cape then skin.cape = "blank.png" end
|
||||||
|
|
Loading…
Reference in a new issue