diff --git a/Dalamud/Dalamud.csproj b/Dalamud/Dalamud.csproj index 2dedb7f04..45676036d 100644 --- a/Dalamud/Dalamud.csproj +++ b/Dalamud/Dalamud.csproj @@ -74,7 +74,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Dalamud/Hooking/Internal/ReloadedHook.cs b/Dalamud/Hooking/Internal/ReloadedHook.cs index ae4425785..28c22b4f8 100644 --- a/Dalamud/Hooking/Internal/ReloadedHook.cs +++ b/Dalamud/Hooking/Internal/ReloadedHook.cs @@ -30,6 +30,7 @@ namespace Dalamud.Hooking.Internal this.hookImpl = ReloadedHooks.Instance.CreateHook(detour, address.ToInt64()); this.hookImpl.Activate(); + this.hookImpl.Disable(); HookManager.TrackedHooks.TryAdd(Guid.NewGuid(), new HookInfo(this, detour, callingAssembly)); }