Skip to content

Commit

Permalink
Clear Ammo before Clearing Items (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
x3rt authored Jul 31, 2024
1 parent bd63934 commit 4654bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Features/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2728,8 +2728,8 @@ public void ResetInventory(IEnumerable<Item> newItems)
/// <seealso cref="DropItems()"/>
public void ClearInventory(bool destroy = true)
{
ClearItems(destroy);
ClearAmmo();
ClearItems(destroy);
}

/// <summary>
Expand Down

0 comments on commit 4654bf2

Please sign in to comment.