mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-11 02:24:36 +01:00
Properly lowercase for tags for plugin installer search
This commit is contained in:
parent
2b51a2a54e
commit
934df7da8a
1 changed files with 1 additions and 1 deletions
|
|
@ -3804,7 +3804,7 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
if (!manifest.Punchline.IsNullOrEmpty())
|
||||
scores.Add(matcher.Matches(manifest.Punchline.ToLowerInvariant()) * 100);
|
||||
if (manifest.Tags != null)
|
||||
scores.Add(matcher.MatchesAny(manifest.Tags.ToArray()) * 100);
|
||||
scores.Add(matcher.MatchesAny(manifest.Tags.Select(tag => tag.ToLowerInvariant()).ToArray()) * 100);
|
||||
|
||||
return scores.Max();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue