mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
poop
This commit is contained in:
parent
3726ead111
commit
b04adaecfc
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Reflection;
|
||||
|
||||
using Dalamud.Configuration.Internal;
|
||||
|
|
@ -43,7 +44,7 @@ namespace Dalamud.Hooking
|
|||
public Hook(IntPtr address, T detour, bool useMinHook)
|
||||
{
|
||||
address = HookManager.FollowJmp(address);
|
||||
this.isMinHook = useMinHook || EnvironmentConfiguration.DalamudForceCoreHook;
|
||||
this.isMinHook = true;
|
||||
|
||||
var hasOtherHooks = HookManager.Originals.ContainsKey(address);
|
||||
if (!hasOtherHooks)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue