Core/Threat: Fix a potential exploit allowing players to damage a boss without them taking damage.
Port From (https://github.com/TrinityCore/TrinityCore/commit/c31ae7ab33c42689c45baa1f1086405656a3fdff)
This commit is contained in:
@@ -553,6 +553,7 @@ namespace Game.Entities
|
|||||||
if (diff >= m_boundaryCheckTime)
|
if (diff >= m_boundaryCheckTime)
|
||||||
{
|
{
|
||||||
GetAI().CheckInRoom();
|
GetAI().CheckInRoom();
|
||||||
|
GetThreatManager().UpdateOnlineStates(false, true);
|
||||||
m_boundaryCheckTime = 2500;
|
m_boundaryCheckTime = 2500;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user