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:
hondacrx
2021-05-18 12:46:50 -04:00
parent 5cc1dd1a61
commit ccd92e8dd5
@@ -553,6 +553,7 @@ namespace Game.Entities
if (diff >= m_boundaryCheckTime)
{
GetAI().CheckInRoom();
GetThreatManager().UpdateOnlineStates(false, true);
m_boundaryCheckTime = 2500;
}
else