Skip to content

Commit

Permalink
Revert "use MinHook for AddonEventManager"
Browse files Browse the repository at this point in the history
This reverts commit 8f98443.
  • Loading branch information
marzent committed Jun 9, 2024
1 parent 94ec953 commit 9687bcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dalamud/Game/Addon/Events/AddonEventManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Collections.Concurrent;
using System.Collections.Concurrent;

using Dalamud.Game.Addon.Lifecycle;
using Dalamud.Game.Addon.Lifecycle.AddonArgTypes;
Expand Down Expand Up @@ -51,7 +51,7 @@ private AddonEventManager(TargetSigScanner sigScanner)

this.cursorOverride = null;

this.onUpdateCursor = Hook<UpdateCursorDelegate>.FromAddress(this.address.UpdateCursor, this.UpdateCursorDetour, true);
this.onUpdateCursor = Hook<UpdateCursorDelegate>.FromAddress(this.address.UpdateCursor, this.UpdateCursorDetour);

this.finalizeEventListener = new AddonLifecycleEventListener(AddonEvent.PreFinalize, string.Empty, this.OnAddonFinalize);
this.addonLifecycle.RegisterListener(this.finalizeEventListener);
Expand Down

0 comments on commit 9687bcf

Please sign in to comment.