mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-18 05:49:41 -04:00
Restore hack for instance dungeon difficulty reset exploit.
--HG-- branch : trunk
This commit is contained in:
+3
-1
@@ -1499,7 +1499,9 @@ void Group::SetDungeonDifficulty(Difficulty difficulty)
|
||||
continue;
|
||||
player->SetDungeonDifficulty(difficulty);
|
||||
player->SendDungeonDifficulty(true);
|
||||
//send player to recall positio nis a dungeon (to avoid an exploit)
|
||||
// Send player to recall position is a dungeon (to avoid an exploit)
|
||||
if (sMapStore.LookupEntry(player->GetMap()->IsDungeon()))
|
||||
player->TeleportTo(player->m_recallMap, player->m_recallX, player->m_recallY, player->m_recallZ, player->m_recallO);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user