@@ -680,7 +680,7 @@ function calcs.initEnv(build, mode, override, specEnv)
680680 if not accelerate .requirementsItems then
681681 local items = {}
682682 local jewelLimits = {}
683- for _ , slot in pairs (build .itemsTab .orderedSlots ) do
683+ for _ , slot in ipairs (build .itemsTab .orderedSlots ) do
684684 local slotName = slot .slotName
685685 if slotName == " Graft 1" or slotName == " Graft 2" then
686686 if not build .spec .treeVersion :find (" 3_27" ) then
@@ -830,7 +830,7 @@ function calcs.initEnv(build, mode, override, specEnv)
830830 end
831831 end
832832 end
833- for _ , slot in pairs (build .itemsTab .orderedSlots ) do
833+ for _ , slot in ipairs (build .itemsTab .orderedSlots ) do
834834 local slotName = slot .slotName
835835 if items [slotName ] then
836836 local srcList = items [slotName ].modList or items [slotName ].slotModList [slot .slotNum ]
@@ -881,7 +881,7 @@ function calcs.initEnv(build, mode, override, specEnv)
881881 -- Track which flask slot (1-5) each flask is in, for adjacency checks
882882 env .flaskSlotMap = { }
883883 env .flaskSlotOccupied = { }
884- for _ , slot in pairs (build .itemsTab .orderedSlots ) do
884+ for _ , slot in ipairs (build .itemsTab .orderedSlots ) do
885885 local slotName = slot .slotName
886886 local item = items [slotName ]
887887 if item and item .type == " Flask" then
0 commit comments