From 903c2fba9a46a1205cf6b9699176060630fb0fa5 Mon Sep 17 00:00:00 2001 From: Nameless <85962933+Misfiy@users.noreply.github.com> Date: Sat, 23 Nov 2024 12:02:44 +0100 Subject: [PATCH] use CustomStaminaStat --- EXILED/Exiled.Events/Patches/Generic/FixStaminaStat.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EXILED/Exiled.Events/Patches/Generic/FixStaminaStat.cs b/EXILED/Exiled.Events/Patches/Generic/FixStaminaStat.cs index 1afe0e46f..8024a7274 100644 --- a/EXILED/Exiled.Events/Patches/Generic/FixStaminaStat.cs +++ b/EXILED/Exiled.Events/Patches/Generic/FixStaminaStat.cs @@ -65,7 +65,7 @@ private static bool Prefix(FpcStateProcessor __instance, PlayerMovementState sta return false; } - stat.CurValue = stat.Clamp(__instance._stat.CurValue + (__instance.ServerRegenRate * Time.deltaTime)); + stat.CurValue = stat.Clamp(stat.CurValue + (__instance.ServerRegenRate * Time.deltaTime)); __result = state; return false; }