fix(Core/Session): don't refund soul shards when logging out with warlock pets (#16803)

This commit is contained in:
Tereneckla
2023-07-21 22:16:11 +00:00
committed by GitHub
parent 30197f40d6
commit 9482836e33

View File

@@ -643,7 +643,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