Fix Collectable handling

This commit is contained in:
Asriel Camora
2024-07-27 01:30:12 -07:00
parent 1587cbb148
commit 4a00589038
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -662,7 +662,7 @@ public sealed unsafe class RecipeNote : Window, IDisposable
}
var textLevel = SqText.LevelPrefix.ToIconChar() + SqText.ToLevelString(RecipeData.RecipeInfo.ClassJobLevel);
var isExpert = RecipeData.RecipeInfo.IsExpert;
var isCollectable = RecipeData.Recipe.ItemResult.Value!.IsCollectable;
var isCollectable = RecipeData.IsCollectable;
var imageSize = ImGui.GetFrameHeight();
var textSize = ImGui.GetFontSize();
var badgeSize = new Vector2(textSize * (ExpertBadge.AspectRatio ?? 1), textSize);