More Cleanups

This commit is contained in:
hondacrx
2021-06-08 12:56:09 -04:00
parent 302a1f293c
commit 52e43853fe
58 changed files with 223 additions and 257 deletions
+1 -2
View File
@@ -628,7 +628,7 @@ namespace Game.Combat
void PutThreatListRef(ObjectGuid guid, ThreatReference refe)
{
Cypher.Assert(!_myThreatListEntries.ContainsKey(guid), $"Duplicate threat reference being inserted on {_owner.GetGUID()} for {guid.ToString()}!");
Cypher.Assert(!_myThreatListEntries.ContainsKey(guid), $"Duplicate threat reference being inserted on {_owner.GetGUID()} for {guid}!");
_myThreatListEntries[guid] = refe;
_sortedThreatList.Add(refe);
_sortedThreatList.Sort();
@@ -771,7 +771,6 @@ namespace Game.Combat
if (onlineState == _online)
return;
bool increase = (onlineState > _online);
_online = onlineState;
ListNotifyChanged();