Skip to content

Commit

Permalink
fix player exploiting ammo amount by switching off weapon
Browse files Browse the repository at this point in the history
  • Loading branch information
TtroubleTT committed Feb 1, 2025
1 parent cd7ba63 commit 587972e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EXILED/Exiled.CustomItems/API/Features/CustomWeapon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ private void OnInternalReloading(ReloadingWeaponEventArgs ev)

private void OnInternalReloaded(ReloadedWeaponEventArgs ev)
{
if (!Check(ev.Player.CurrentItem))
if (!Check(ev.Item))
return;

if (ClipSize > 0)
Expand Down

0 comments on commit 587972e

Please sign in to comment.