diff --git a/ARDiscard/Windows/DiscardWindow.cs b/ARDiscard/Windows/DiscardWindow.cs index ab38dcc..27fc161 100644 --- a/ARDiscard/Windows/DiscardWindow.cs +++ b/ARDiscard/Windows/DiscardWindow.cs @@ -123,14 +123,12 @@ internal sealed class DiscardWindow : LWindow { if (_configuration.Preview.ShowIcons) { - ISharedImmediateTexture icon = _iconCache.GetIcon(displayedItem.IconId); - if (icon.TryGetWrap(out IDalamudTextureWrap? wrap, out _)) + using IDalamudTextureWrap? icon = _iconCache.GetIcon(displayedItem.IconId); + if (icon != null) { - ImGui.Image(wrap.ImGuiHandle, new Vector2(23, 23)); + ImGui.Image(icon.ImGuiHandle, new Vector2(23, 23)); ImGui.SameLine(); ImGui.SetCursorPosY(ImGui.GetCursorPosY() + 3); - - wrap.Dispose(); } } diff --git a/AutoRetainerAPI b/AutoRetainerAPI index a63c8e7..1c8745e 160000 --- a/AutoRetainerAPI +++ b/AutoRetainerAPI @@ -1 +1 @@ -Subproject commit a63c8e7154e272374ffa03d5c801736d4229e38a +Subproject commit 1c8745ef2757585d2683b4a83c44c8db81ff8955 diff --git a/ECommons b/ECommons index 38080f2..07c07e0 160000 --- a/ECommons +++ b/ECommons @@ -1 +1 @@ -Subproject commit 38080f2a3733aa19b6928f4d2984fac7b9a7fab7 +Subproject commit 07c07e09101e0c8a5f770dbea2ca6eafea5ec705 diff --git a/LLib b/LLib index 7027d29..fde09c7 160000 --- a/LLib +++ b/LLib @@ -1 +1 @@ -Subproject commit 7027d291efbbff6a55944dd521d3907210ddecbe +Subproject commit fde09c705b648f03c287814191a554f0a4b92cc4