Fix mcl_skins crash with YOLO mod

This commit is contained in:
Mikita Wiśniewski 2024-04-21 07:36:49 +07:00
parent bd4337a2dc
commit d00fa6e99e
1 changed files with 2 additions and 0 deletions

View File

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