mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
Fix for minhook error
This commit is contained in:
parent
8a58782e86
commit
c53aced272
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ namespace Dalamud.Hooking
|
|||
{
|
||||
var indexList = hasOtherHooks
|
||||
? HookManager.MultiHookTracker[address]
|
||||
: HookManager.MultiHookTracker[address] = new();
|
||||
: (HookManager.MultiHookTracker[address] = new());
|
||||
var index = (ulong)indexList.Count;
|
||||
|
||||
this.minHookImpl = new MinSharp.Hook<T>(address, detour, index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue