fix: handle hq item icons

This commit is contained in:
Anna
2022-01-10 00:35:36 -05:00
parent c897aae0b3
commit afb979acfd
2 changed files with 18 additions and 16 deletions
+2 -2
View File
@@ -149,7 +149,7 @@ internal sealed class PayloadHandler {
}
private void HoverItem(ItemPayload item) {
if (this.Ui.Plugin.TextureCache.GetItem(item.Item) is { } icon) {
if (this.Ui.Plugin.TextureCache.GetItem(item.Item, item.IsHQ) is { } icon) {
InlineIcon(icon);
}
@@ -216,7 +216,7 @@ internal sealed class PayloadHandler {
}
private void DrawItemPopup(ItemPayload item) {
if (this.Ui.Plugin.TextureCache.GetItem(item.Item) is { } icon) {
if (this.Ui.Plugin.TextureCache.GetItem(item.Item, item.IsHQ) is { } icon) {
InlineIcon(icon);
}