Skip to content

Commit

Permalink
checking
Browse files Browse the repository at this point in the history
  • Loading branch information
VALERA771 authored Aug 11, 2024
1 parent a9be981 commit b51cf51
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 @@ -2397,7 +2397,7 @@ public bool DropAmmo(AmmoType ammoType, ushort amount, bool checkMinimals = fals
/// <param name="type">The <see cref="AmmoType"/> of the ammo to check.</param>
/// <param name="ignoreArmor">If the method should ignore the armor the player is wearing.</param>
/// <returns>The maximum amount of ammo this player can carry.</returns>
public ushort GetAmmoLimit(AmmoType type, bool ignoreArmor)
public ushort GetAmmoLimit(AmmoType type, bool ignoreArmor = false)
{
if (ignoreArmor)
{
Expand Down

0 comments on commit b51cf51

Please sign in to comment.