fix: don't call GetInfo twice

This commit is contained in:
Anna 2022-05-10 23:54:13 -04:00
parent 7c3edda4ef
commit b0f9835a1b
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ internal class Obscurer : IDisposable {
continue;
}
if (this.Plugin.NameRepository.GetReplacement(name, this.GetInfo(chara)) is not { } replacement) {
if (this.Plugin.NameRepository.GetReplacement(name, info) is not { } replacement) {
continue;
}