fix(client): wait configured amount of time

This commit is contained in:
Anna 2023-10-07 04:47:57 -04:00
parent 3a28523612
commit bb2f346805
Signed by: anna
GPG Key ID: D0943384CD9F87D1
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public class Plugin : IDalamudPlugin {
}
private void FrameworkUpdate(IFramework framework) {
if (this.Stopwatch.Elapsed < TimeSpan.FromSeconds(5) || this.ClientState.LocalPlayer is not { } localPlayer) {
if (this.Stopwatch.Elapsed < TimeSpan.FromSeconds(this.Config.UpdateFrequency) || this.ClientState.LocalPlayer is not { } localPlayer) {
return;
}