You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: EXILED/Exiled.API/Features/Player.cs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1811,7 +1811,7 @@ public void TrySetCustomRoleFriendlyFire(string roleTypeId, Dictionary<RoleTypeI
1811
1811
/// <remarks>
1812
1812
/// This method does not check if the weapon can actually be reloaded. It only forces the animation and is not guaranteed to result in a successful reload.
1813
1813
/// </remarks>
1814
-
publicboolForceReloadWeapon()
1814
+
publicboolReloadWeapon()
1815
1815
{
1816
1816
if(CurrentItemis not Firearmfirearm||firearm.AnimatorReloaderModule==null)
1817
1817
{
@@ -1827,7 +1827,7 @@ public bool ForceReloadWeapon()
1827
1827
/// Forces the player to reload their current weapon.
1828
1828
/// </summary>
1829
1829
/// <returns><see langword="true"/> if the firearm was successfully reloaded. Otherwise, <see langword="false"/>.</returns>
1830
-
publicboolReloadWeapon()
1830
+
publicboolTryReloadWeapon()
1831
1831
{
1832
1832
if(CurrentItemis not Firearmfirearm||firearm.AnimatorReloaderModule==null)
1833
1833
{
@@ -1844,7 +1844,7 @@ public bool ReloadWeapon()
1844
1844
/// <remarks>
1845
1845
/// This method does not check if the weapon can actually be unloaded. It only forces the animation and is not guaranteed to result in a successful unload.
1846
1846
/// </remarks>
1847
-
publicboolForceUnloadWeapon()
1847
+
publicboolUnloadWeapon()
1848
1848
{
1849
1849
if(CurrentItemis not Firearmfirearm||firearm.AnimatorReloaderModule==null)
1850
1850
{
@@ -1860,7 +1860,7 @@ public bool ForceUnloadWeapon()
1860
1860
/// Forces the player to unload their current weapon.
1861
1861
/// </summary>
1862
1862
/// <returns><see langword="true"/> if the firearm was successfully unloaded. Otherwise, <see langword="false"/>.</returns>
1863
-
publicboolUnloadWeapon()
1863
+
publicboolTryUnloadWeapon()
1864
1864
{
1865
1865
if(CurrentItemis not Firearmfirearm||firearm.AnimatorReloaderModule==null)
0 commit comments