Dispose, not Disable!!!
This commit is contained in:
@@ -89,7 +89,7 @@ namespace Pilz.Dalamud.Nameplates
|
|||||||
if (isDisposing)
|
if (isDisposing)
|
||||||
{
|
{
|
||||||
if (!IsHookDisposed(hook_AddonNamePlate_SetPlayerNameplateDetour))
|
if (!IsHookDisposed(hook_AddonNamePlate_SetPlayerNameplateDetour))
|
||||||
hook_AddonNamePlate_SetPlayerNameplateDetour?.Disable();
|
hook_AddonNamePlate_SetPlayerNameplateDetour?.Dispose();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user