mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 04:12:40 +01:00
Core/DataStores: Updated opcodes and db2 to 7.0.3.21414
This commit is contained in:
@@ -170,9 +170,9 @@ void WorldSession::HandleMoveWorldportAckOpcode()
|
||||
{
|
||||
// check if this instance has a reset time and send it to player if so
|
||||
Difficulty diff = GetPlayer()->GetDifficultyID(mEntry);
|
||||
if (MapDifficultyEntry const* mapDiff = GetMapDifficultyData(mEntry->ID, diff))
|
||||
if (MapDifficultyEntry const* mapDiff = sDB2Manager.GetMapDifficultyData(mEntry->ID, diff))
|
||||
{
|
||||
if (mapDiff->RaidDuration)
|
||||
if (mapDiff->GetRaidDuration())
|
||||
{
|
||||
if (time_t timeReset = sInstanceSaveMgr->GetResetTimeFor(mEntry->ID, diff))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user