mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
Removed all my commits for today, this is hack? really? okey
--HG-- branch : trunk
This commit is contained in:
@@ -1499,9 +1499,7 @@ void Group::SetDungeonDifficulty(Difficulty difficulty)
|
||||
continue;
|
||||
player->SetDungeonDifficulty(difficulty);
|
||||
player->SendDungeonDifficulty(true);
|
||||
// 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);
|
||||
//send player to recall positio nis a dungeon (to avoid an exploit)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user