Core/Players: update mount capabilities on player login to avoid orphaned mount speed auras

This commit is contained in:
Ovah
2020-06-03 22:19:56 +02:00
committed by GitHub
parent 5cb747620a
commit 227427e8a1

View File

@@ -981,6 +981,7 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder* holder)
}
pCurrChar->UpdatePositionData();
pCurrChar->UpdateMountCapabilities();
pCurrChar->SendInitialPacketsAfterAddToMap();
CharacterDatabasePreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_UPD_CHAR_ONLINE);