fix: don't call GetInfo twice
This commit is contained in:
parent
ef1ef4de5b
commit
0f22f7c4ae
|
@ -373,7 +373,7 @@ internal class Obscurer : IDisposable {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.Plugin.NameRepository.GetReplacement(name, this.GetInfo(chara)) is not { } replacement) {
|
if (this.Plugin.NameRepository.GetReplacement(name, info) is not { } replacement) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue