Commit 8a25179 1 parent 30c573e commit 8a25179 Copy full SHA for 8a25179
File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ function CraftSim.ResultData:UpdatePossibleResultItems()
54
54
for _ , itemID in pairs (itemIDs ) do
55
55
table.insert (self .itemsByQuality , Item :CreateFromItemID (itemID ))
56
56
end
57
- elseif recipeData .isGear then
57
+ -- only for quality supporting gear, non quality gear would be the toylike Scepter of Spectacle: Air for example
58
+ elseif recipeData .isGear and recipeData .supportsQualities then
58
59
local itemLinks = CraftSim .UTIL :GetDifferentQualitiesByCraftingReagentTbl (recipeData .recipeID ,
59
60
craftingReagentInfoTbl , recipeData .allocationItemGUID , recipeData .maxQuality )
60
61
@@ -71,7 +72,7 @@ function CraftSim.ResultData:UpdatePossibleResultItems()
71
72
end
72
73
end
73
74
74
- if not recipeData . isGear and self .itemsByQuality [1 ] and self .itemsByQuality [2 ] and not recipeData .supportsQualities then
75
+ if self .itemsByQuality [1 ] and self .itemsByQuality [2 ] and not recipeData .supportsQualities then
75
76
if self .itemsByQuality [1 ]:GetItemID () == self .itemsByQuality [2 ]:GetItemID () then
76
77
self .itemsByQuality = { self .itemsByQuality [1 ] } -- force one of an item (illustrious insight e.g. has always 3 items in it for whatever reason)
77
78
end
You can’t perform that action at this time.
0 commit comments