Core/BattlePets: Journal lock improvements

Port From (https://github.com/TrinityCore/TrinityCore/commit/895367e69fac542ea00079ee1405228d9f150898)
This commit is contained in:
hondacrx
2021-11-23 14:01:16 -05:00
parent 1f6e2e22f9
commit 751f4dd8b2
6 changed files with 78 additions and 9 deletions
+4
View File
@@ -160,6 +160,10 @@ namespace Game
// Remove pet
_player.RemovePet(null, PetSaveMode.AsCurrent, true);
///- Release battle pet journal lock
if (_battlePetMgr.HasJournalLock())
_battlePetMgr.ToggleJournalLock(false);
// Clear whisper whitelist
_player.ClearWhisperWhiteList();