1
0
Fork 0

Fix crash and trim trailing

patch_skins
the-real-herowl 2023-12-10 07:29:45 +01:00 committed by chmodsayshello
parent b47fae0ed4
commit d3881fc1d1
1 changed files with 49 additions and 49 deletions

View File

@ -137,7 +137,7 @@ function mcl_skins.compile_skin(skin)
if #output > 0 then output = output .. "^" end if #output > 0 then output = output .. "^" end
output = output .. layers[rank] output = output .. layers[rank]
end end
if skin.cape ~= "nocape" then if skin.cape and skin.cape ~= "nocape" then
output = output .. "^(" .. skin.cape .. "_body.png)" output = output .. "^(" .. skin.cape .. "_body.png)"
end end
return output return output