Skip to content

Commit 17b1d08

Browse files
github-actions[bot]Blitz54LocalIdentity
authored
Change mod color priority - fractured+crafted mods should be fractured color (#9915)
* Apply changes from PathOfBuildingCommunity/PathOfBuilding-PoE2#2325 * Fix port --------- Co-authored-by: Blitz54 <Blitz54@users.noreply.github.com> Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 7e72ce9 commit 17b1d08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Modules/ItemTools.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ function itemLib.formatModLine(modLine, dbMode)
359359
line = line .. " ^1'" .. modLine.extra .. "'"
360360
end
361361
else
362-
colorCode = (modLine.crafted and colorCodes.CRAFTED) or (modLine.mutated and colorCodes.MUTATED) or (modLine.scourge and colorCodes.SCOURGE) or (modLine.custom and colorCodes.CUSTOM) or (modLine.fractured and colorCodes.FRACTURED) or (modLine.crucible and colorCodes.CRUCIBLE) or colorCodes.MAGIC
362+
colorCode = (modLine.fractured and colorCodes.FRACTURED) or (modLine.crafted and colorCodes.CRAFTED) or (modLine.mutated and colorCodes.MUTATED) or (modLine.scourge and colorCodes.SCOURGE) or (modLine.custom and colorCodes.CUSTOM) or (modLine.crucible and colorCodes.CRUCIBLE) or colorCodes.MAGIC
363363
end
364364
return colorCode..line
365365
end

0 commit comments

Comments
 (0)