You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 07:26:18 +00:00
@@ -242,6 +242,8 @@ export class AvatarRenderManager implements IAvatarRenderManager
|
|||||||
const palette = figureData.getPalette(set.paletteID);
|
const palette = figureData.getPalette(set.paletteID);
|
||||||
const colors = container.getPartColorIds(part);
|
const colors = container.getPartColorIds(part);
|
||||||
|
|
||||||
|
if(!palette) continue;
|
||||||
|
|
||||||
for(const colorId of colors)
|
for(const colorId of colors)
|
||||||
{
|
{
|
||||||
const color = palette.getColor(colorId);
|
const color = palette.getColor(colorId);
|
||||||
|
|||||||
Reference in New Issue
Block a user