Fixed instance reset when high server uptime, thx Wowka321
--HG-- branch : trunk
This commit is contained in:
@@ -19177,6 +19177,7 @@ void Player::UpdateHomebindTime(uint32 time)
|
||||
if (time >= m_HomebindTimer)
|
||||
{
|
||||
// teleport to nearest graveyard
|
||||
SetPhaseMask(1,true);
|
||||
RepopAtGraveyard();
|
||||
}
|
||||
else
|
||||
@@ -19192,6 +19193,7 @@ void Player::UpdateHomebindTime(uint32 time)
|
||||
data << uint32(1);
|
||||
GetSession()->SendPacket(&data);
|
||||
sLog.outDebug("PLAYER: Player '%s' (GUID: %u) will be teleported to homebind in 60 seconds", GetName(),GetGUIDLow());
|
||||
SetPhaseMask(2,true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user