You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 15:06:20 +00:00
🆙 Fix null error palette_id
This commit is contained in:
@@ -241,6 +241,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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user