From 0374b74f673ee039d49ffd8e21c705304a6445b9 Mon Sep 17 00:00:00 2001 From: Marcelo Paez Sequeira Date: Thu, 4 Jul 2024 17:28:18 -0300 Subject: [PATCH] fix: Correctly removing active meditation buff when at peace (#1856) --- Projects/UOContent/Mobiles/PlayerMobile.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Projects/UOContent/Mobiles/PlayerMobile.cs b/Projects/UOContent/Mobiles/PlayerMobile.cs index 767c833ef..43aefed97 100644 --- a/Projects/UOContent/Mobiles/PlayerMobile.cs +++ b/Projects/UOContent/Mobiles/PlayerMobile.cs @@ -1214,6 +1214,11 @@ namespace Server.Mobiles SpecialMove.ClearCurrentMove(this); } } + + if (!Meditating) + { + BuffInfo.RemoveBuff(this, BuffIcon.ActiveMeditation); + } } public static void OnLogin(PlayerMobile from)