mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Instances: Fix an issue where instance greet messages were not properly sent out due to fetching the greet message for the instance difficulty selected by the player in the GUI, instead of the actual map difficulty in case a fallback difficulty was issued. (#22157)
This commit is contained in:
@@ -175,7 +175,7 @@ void WorldSession::HandleMoveWorldportAck()
|
||||
if (mInstance)
|
||||
{
|
||||
// check if this instance has a reset time and send it to player if so
|
||||
Difficulty diff = GetPlayer()->GetDifficultyID(mEntry);
|
||||
Difficulty diff = newMap->GetDifficultyID();
|
||||
if (MapDifficultyEntry const* mapDiff = sDB2Manager.GetMapDifficultyData(mEntry->ID, diff))
|
||||
{
|
||||
if (mapDiff->GetRaidDuration())
|
||||
|
||||
Reference in New Issue
Block a user