From a956fa1a7f39b65453139fb5587efa0b0dd512a4 Mon Sep 17 00:00:00 2001 From: Anch Date: Fri, 14 Oct 2022 15:53:33 +1300 Subject: [PATCH] swaped a if check around --- AtlasLoot/Core/WishList.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AtlasLoot/Core/WishList.lua b/AtlasLoot/Core/WishList.lua index d1cc218..adc3c45 100644 --- a/AtlasLoot/Core/WishList.lua +++ b/AtlasLoot/Core/WishList.lua @@ -162,7 +162,7 @@ function AtlasLoot:SortWishList(refresh) end end end - if tableCheck() and v[2] ~= 0 then + if v[2] ~= 0 and tableCheck() then table.insert(tableCheck(),v); elseif v[2] ~= 0 then table.insert(Sorted,{{0, 0, "INV_Box_01", WHITE..v[5], ""},v});