Dispose, not Disable!!!

This commit is contained in:
2023-10-07 11:25:16 +02:00
parent 22475d7223
commit 5695a0823b

View File

@@ -89,7 +89,7 @@ namespace Pilz.Dalamud.Nameplates
if (isDisposing)
{
if (!IsHookDisposed(hook_AddonNamePlate_SetPlayerNameplateDetour))
hook_AddonNamePlate_SetPlayerNameplateDetour?.Disable();
hook_AddonNamePlate_SetPlayerNameplateDetour?.Dispose();
}
else
{