diff --git a/Windows/ClientWindow.lua b/Windows/ClientWindow.lua index eeb0039..6bd312f 100644 --- a/Windows/ClientWindow.lua +++ b/Windows/ClientWindow.lua @@ -255,7 +255,7 @@ function LootReserve.Client:UpdateLootList() if child.Loot then for lootIndex, loot in ipairs(child.Loot) do if LootReserve.ItemCache(loot):GetID() == item:GetID() then - return id * 10000 + childIndex * 100 + lootIndex; + return (10^8)*childIndex + (10^6)*lootIndex + id; end end end diff --git a/Windows/ServerWindow.lua b/Windows/ServerWindow.lua index aa88a33..4219c73 100644 --- a/Windows/ServerWindow.lua +++ b/Windows/ServerWindow.lua @@ -293,7 +293,7 @@ function LootReserve.Server:UpdateReserveList(lockdown) if child.Loot then for lootIndex, loot in ipairs(child.Loot) do if LootReserve.ItemCache(loot) == item then - return id * 10000 + childIndex * 100 + lootIndex; + return (10^8)*childIndex + (10^6)*lootIndex + id; end end end