Skip to content

Commit 4654bf2

Browse files
authored
Clear Ammo before Clearing Items (#4)
1 parent bd63934 commit 4654bf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EXILED/Exiled.API/Features/Player.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2728,8 +2728,8 @@ public void ResetInventory(IEnumerable<Item> newItems)
27282728
/// <seealso cref="DropItems()"/>
27292729
public void ClearInventory(bool destroy = true)
27302730
{
2731-
ClearItems(destroy);
27322731
ClearAmmo();
2732+
ClearItems(destroy);
27332733
}
27342734

27352735
/// <summary>

0 commit comments

Comments
 (0)