fix: Correctly removing active meditation buff when at peace (#1856)

This commit is contained in:
Marcelo Paez Sequeira 2024-07-04 17:28:18 -03:00 committed by GitHub
parent 70b2e9820d
commit 0374b74f67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1214,6 +1214,11 @@ namespace Server.Mobiles
SpecialMove.ClearCurrentMove(this); SpecialMove.ClearCurrentMove(this);
} }
} }
if (!Meditating)
{
BuffInfo.RemoveBuff(this, BuffIcon.ActiveMeditation);
}
} }
public static void OnLogin(PlayerMobile from) public static void OnLogin(PlayerMobile from)