🆙 Fix null error palette_id

This commit is contained in:
DuckieTM
2026-03-29 22:03:54 +02:00
parent 74ca6864bc
commit 3510322c35
@@ -242,6 +242,8 @@ export class AvatarRenderManager implements IAvatarRenderManager
const palette = figureData.getPalette(set.paletteID);
const colors = container.getPartColorIds(part);
if(!palette) continue;
for(const colorId of colors)
{
const color = palette.getColor(colorId);