Skip to content

Commit bcf7f47

Browse files
committed
Fix trying to render maps we don't know how to use
1 parent e1d856e commit bcf7f47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xivModdingFramework/Models/ModelTextures/ModelTexture.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,8 @@ private async Task<TexMapData> GetTexMapData()
409409
texMapData.Skin = new TexInfo { Width = texData.Width, Height = texData.Height, Data = imageData }; ;
410410
break;
411411
default:
412-
throw new ArgumentOutOfRangeException();
412+
// Do not render textures that we do not know how to use
413+
break;
413414
}
414415
}
415416
}

0 commit comments

Comments
 (0)