diff --git a/docs/plugin-development/interaction/expanding-game-events.md b/docs/plugin-development/interaction/expanding-game-events.md index 84d1491..f9f6772 100644 --- a/docs/plugin-development/interaction/expanding-game-events.md +++ b/docs/plugin-development/interaction/expanding-game-events.md @@ -83,7 +83,7 @@ public class MyHook : IDisposable { private readonly Hook? _macroUpdateHook; public MyHook() { - this._macroUpdateHook = Services.GameInteropProvider.HookFromAddress( + this._macroUpdateHook = Services.GameInteropProvider.HookFromAddress( (nint) RaptureMacroModule.Addresses.SetSavePendingFlag.Value, this.DetourSetSavePending ); @@ -126,7 +126,7 @@ public class MySiggedHook : IDisposable { [Signature("45 85 C0 75 04 88 51 3D", DetourName = nameof(DetourSetSavePending))] private Hook? _macroUpdateHook; - public MyHook() { + public MySiggedHook() { Services.GameInteropProvider.InitializeFromAttributes(this); this._macroUpdateHook?.Enable();