Skip to content

Commit 322dce8

Browse files
committed
Fixed foulborn stats colours
1 parent 9c5d6b2 commit 322dce8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Sidekick.Apis.Poe.Trade/Parser/Stats/StatParser.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@ Stat CreateStat(TextBlock block, List<TextLine> lines, List<StatDefinition> defi
149149
{
150150
var text = string.Join('\n', lines.Select(x => x.Text));
151151
var category = ParseCategory(text);
152-
if (definitions.DistinctBy(x => x.Category).Count() == 1 && definitions[0].Category != StatCategory.Undefined)
152+
if (category != StatCategory.Mutated
153+
&& definitions.DistinctBy(x => x.Category).Count() == 1
154+
&& definitions[0].Category != StatCategory.Undefined)
153155
{
154156
category = definitions[0].Category;
155157
}

0 commit comments

Comments
 (0)