From d4f258e648f4095666f01f177bbbcc9793aeec92 Mon Sep 17 00:00:00 2001
From: VALERA771 <72030575+VALERA771@users.noreply.github.com>
Date: Mon, 12 Aug 2024 13:01:17 +0300
Subject: [PATCH] Update Player.cs
Co-authored-by: Nameless <85962933+Misfiy@users.noreply.github.com>
---
EXILED/Exiled.API/Features/Player.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/EXILED/Exiled.API/Features/Player.cs b/EXILED/Exiled.API/Features/Player.cs
index 66cb6754d..314817264 100644
--- a/EXILED/Exiled.API/Features/Player.cs
+++ b/EXILED/Exiled.API/Features/Player.cs
@@ -2417,7 +2417,7 @@ public ushort GetAmmoLimit(AmmoType type, bool ignoreArmor = false)
/// The of the ammo to check.
/// The maximum amount of ammo this player can carry.
[Obsolete("Use Player::GetAmmoLimit(AmmoType, bool) instead.")]
- public ushort GetAmmoLimit(AmmoType type)
+ public int GetAmmoLimit(AmmoType type)
{
return (int)InventorySystem.Configs.InventoryLimits.GetAmmoLimit(type.GetItemType(), referenceHub);
}