fix: don't call GetInfo twice
This commit is contained in:
parent
7c3edda4ef
commit
b0f9835a1b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue