From d00fa6e99e5c99c121d765c28108e9d4df0d022e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikita=20Wi=C5=9Bniewski?= Date: Sun, 21 Apr 2024 07:36:49 +0700 Subject: [PATCH] Fix mcl_skins crash with YOLO mod --- mods/PLAYER/mcl_skins/edit_skin.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/PLAYER/mcl_skins/edit_skin.lua b/mods/PLAYER/mcl_skins/edit_skin.lua index 8531e4263..d5630d595 100644 --- a/mods/PLAYER/mcl_skins/edit_skin.lua +++ b/mods/PLAYER/mcl_skins/edit_skin.lua @@ -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