From bde11640f20c200fbf00da3ae346f05131e9b8f1 Mon Sep 17 00:00:00 2001 From: Yamato Date: Thu, 1 Aug 2024 02:41:26 +0200 Subject: [PATCH] Fix --- EXILED/Exiled.API/Features/Items/Jailbird.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EXILED/Exiled.API/Features/Items/Jailbird.cs b/EXILED/Exiled.API/Features/Items/Jailbird.cs index d0fe13647..d5c018b84 100644 --- a/EXILED/Exiled.API/Features/Items/Jailbird.cs +++ b/EXILED/Exiled.API/Features/Items/Jailbird.cs @@ -130,7 +130,7 @@ public JailbirdWearState WearState /// The amount of damage associated with the specified wear state. public float GetDamage(JailbirdWearState wearState) { - foreach (Keyframe keyframe in Base._deterioration._chargesToWearState.keys) + foreach (Keyframe keyframe in Base._deterioration._damageToWearState.keys) { if (Base._deterioration.FloatToState(keyframe.value) == wearState) return keyframe.time;