From 5695a0823bb5cc1a856801a5c1d858b49408c4a3 Mon Sep 17 00:00:00 2001 From: Pilzinsel64 Date: Sat, 7 Oct 2023 11:25:16 +0200 Subject: [PATCH] Dispose, not Disable!!! --- Pilz.Dalamud/Nameplates/NameplateHooks.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pilz.Dalamud/Nameplates/NameplateHooks.cs b/Pilz.Dalamud/Nameplates/NameplateHooks.cs index 1bfc868..cf28548 100644 --- a/Pilz.Dalamud/Nameplates/NameplateHooks.cs +++ b/Pilz.Dalamud/Nameplates/NameplateHooks.cs @@ -89,7 +89,7 @@ namespace Pilz.Dalamud.Nameplates if (isDisposing) { if (!IsHookDisposed(hook_AddonNamePlate_SetPlayerNameplateDetour)) - hook_AddonNamePlate_SetPlayerNameplateDetour?.Disable(); + hook_AddonNamePlate_SetPlayerNameplateDetour?.Dispose(); } else {