forked from VoxeLibre/VoxeLibre
Fix mcl_skins crash with YOLO mod
This commit is contained in:
parent
bd4337a2dc
commit
d00fa6e99e
|
@ -161,6 +161,8 @@ function mcl_skins.update_player_skin(player)
|
|||
end
|
||||
|
||||
local skin = mcl_skins.player_skins[player]
|
||||
if not skin then return end
|
||||
|
||||
local skinval = mcl_skins.compile_skin(skin)
|
||||
|
||||
if not skin.cape then skin.cape = "blank.png" end
|
||||
|
|
Loading…
Reference in New Issue