diff --git a/Meddle/Meddle.Plugin/Services/InteropService.cs b/Meddle/Meddle.Plugin/Services/InteropService.cs index 190b22d..c0e9338 100644 --- a/Meddle/Meddle.Plugin/Services/InteropService.cs +++ b/Meddle/Meddle.Plugin/Services/InteropService.cs @@ -43,7 +43,7 @@ public void Dispose() public Task StartAsync(CancellationToken cancellationToken) { - if (state.InteropRespolved) + if (state.InteropResolved) return Task.CompletedTask; log.LogInformation("Resolving ClientStructs"); Addresses.Register(); @@ -53,7 +53,7 @@ public Task StartAsync(CancellationToken cancellationToken) Resolver.GetInstance.Setup(sigScanner.SearchBase, cacheFile: cacheFile); Resolver.GetInstance.Resolve(); - state.InteropRespolved = true; + state.InteropResolved = true; log.LogInformation("Resolved ClientStructs"); return Task.CompletedTask; } diff --git a/Meddle/Meddle.Plugin/Services/PluginState.cs b/Meddle/Meddle.Plugin/Services/PluginState.cs index 2a836f5..72d5564 100644 --- a/Meddle/Meddle.Plugin/Services/PluginState.cs +++ b/Meddle/Meddle.Plugin/Services/PluginState.cs @@ -2,5 +2,5 @@ public class PluginState { - public bool InteropRespolved { get; set; } + public bool InteropResolved { get; set; } } diff --git a/Meddle/Meddle.Plugin/UI/CharacterTab.cs b/Meddle/Meddle.Plugin/UI/CharacterTab.cs index a8386b8..040b7e8 100644 --- a/Meddle/Meddle.Plugin/UI/CharacterTab.cs +++ b/Meddle/Meddle.Plugin/UI/CharacterTab.cs @@ -75,7 +75,7 @@ private void HandleExportLog(LogLevel level, string message) public void Draw() { - if (!pluginState.InteropRespolved) + if (!pluginState.InteropResolved) { ImGui.Text("Waiting for game data..."); return; diff --git a/Meddle/Meddle.Plugin/UI/WorldTab.cs b/Meddle/Meddle.Plugin/UI/WorldTab.cs index b45210a..64aa474 100644 --- a/Meddle/Meddle.Plugin/UI/WorldTab.cs +++ b/Meddle/Meddle.Plugin/UI/WorldTab.cs @@ -45,7 +45,7 @@ public void Dispose() public void Draw() { - if (!pluginState.InteropRespolved) return; + if (!pluginState.InteropResolved) return; var position = clientState.LocalPlayer?.Position ?? Vector3.Zero; if (ImGui.Button("Parse world objects"))