Fixes one crash

This commit is contained in:
hondacrx
2021-06-28 20:14:20 -04:00
parent 5cebe678e0
commit c168c6b145
+3
View File
@@ -586,6 +586,9 @@ namespace Game.Combat
public void RegisterRedirectThreat(uint spellId, ObjectGuid victim, uint pct)
{
if (!_redirectRegistry.ContainsKey(spellId))
_redirectRegistry[spellId] = new();
_redirectRegistry[spellId][victim] = pct;
UpdateRedirectInfo();
}