We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0416e59 commit 0fe3655Copy full SHA for 0fe3655
1 file changed
src/Classes/Item.lua
@@ -1373,7 +1373,10 @@ end
1373
1374
-- Build list of modifiers in a given slot number while applying local modifiers and adding quality
1375
function ItemClass:BuildModListForSlotNum(baseList, slotNum)
1376
- local slotName = self:GetPrimarySlot():gsub("1", tostring(slotNum))
+ local slotName = self:GetPrimarySlot()
1377
+ if slotNum ~= 1 then
1378
+ slotName = slotName:gsub("1", tostring(slotNum))
1379
+ end
1380
local modList = new("ModList")
1381
for _, baseMod in ipairs(baseList) do
1382
local mod = copyTable(baseMod)
0 commit comments