Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
louis1706 committed Aug 1, 2024
1 parent 1fe545d commit bde1164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EXILED/Exiled.API/Features/Items/Jailbird.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public JailbirdWearState WearState
/// <returns>The amount of damage associated with the specified wear state.</returns>
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;
Expand Down

0 comments on commit bde1164

Please sign in to comment.