Merge pull request #35 from duckietm/Dev

🆙 Fix null error palette_id
This commit is contained in:
DuckieTM
2026-03-29 22:04:19 +02:00
committed by GitHub
@@ -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);