Compare commits

...

1 Commits

Author SHA1 Message Date
Mikita Wiśniewski d00fa6e99e Fix mcl_skins crash with YOLO mod 2024-04-21 07:36:49 +07:00
1 changed files with 2 additions and 0 deletions

View File

@ -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