Skip to content

Commit

Permalink
Update Npc.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SrLicht committed Oct 14, 2024
1 parent 580af84 commit 1ea3e2a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions EXILED/Exiled.API/Features/Npc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -318,10 +318,7 @@ public void LateDestroy(float time)
{
Timing.CallDelayed(time, () =>
{
if (this == null)
return;
Destroy();
this?.Destroy();
});
}
}
Expand Down

0 comments on commit 1ea3e2a

Please sign in to comment.