Merge branch 'master' into Playerbot

This commit is contained in:
Yunfan Li
2023-07-24 14:43:27 +08:00
19 changed files with 1049 additions and 1179 deletions

View File

@@ -660,7 +660,7 @@ void WorldSession::LogoutPlayer(bool save)
guild->HandleMemberLogout(this);
///- Remove pet
_player->RemovePet(nullptr, PET_SAVE_AS_CURRENT, true);
_player->RemovePet(nullptr, PET_SAVE_AS_CURRENT);
// pussywizard: on logout remove auras that are removed at map change (before saving to db)
// there are some positive auras from boss encounters that can be kept by logging out and logging in after boss is dead, and may be used on next bosses