diff --git a/MyCollection/Internals/Classes/Collection.lua b/MyCollection/Internals/Classes/Collection.lua index b2603aa..2554861 100644 --- a/MyCollection/Internals/Classes/Collection.lua +++ b/MyCollection/Internals/Classes/Collection.lua @@ -49,7 +49,7 @@ function Collection:RemoveItem(item) end function Collection:AddSet(setId, armorType, orderNumber) - local newId = -1 + local newId = 0 if (next(self.sets) ~= nil) then for key, _ in pairs(self.sets) do if key > newId then