mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
[AddonLifecycle] Also check specific addon for null
This commit is contained in:
parent
cfef50af0c
commit
46fbb94b1d
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ internal unsafe class AddonLifecycle : IDisposable, IServiceType, IAddonLifecycl
|
|||
|
||||
private void OnAddonFinalize(AtkUnitManager* unitManager, AtkUnitBase** atkUnitBase)
|
||||
{
|
||||
if (atkUnitBase is null)
|
||||
if (atkUnitBase is null || atkUnitBase[0] is null)
|
||||
{
|
||||
this.onAddonFinalizeHook.Original(unitManager, atkUnitBase);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue