Skip to content

Commit

Permalink
fix: Correctly removing active meditation buff when at peace (#1856)
Browse files Browse the repository at this point in the history
  • Loading branch information
paezao authored Jul 4, 2024
1 parent 70b2e98 commit 0374b74
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Projects/UOContent/Mobiles/PlayerMobile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,11 @@ public override void OnManaChange(int oldValue)
SpecialMove.ClearCurrentMove(this);
}
}

if (!Meditating)
{
BuffInfo.RemoveBuff(this, BuffIcon.ActiveMeditation);
}
}

public static void OnLogin(PlayerMobile from)
Expand Down

0 comments on commit 0374b74

Please sign in to comment.