fix: don't call GetInfo twice

This commit is contained in:
Anna 2022-05-10 23:54:13 -04:00
parent ef1ef4de5b
commit 0f22f7c4ae
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;
}