Misc fixes

This commit is contained in:
hondacrx
2021-11-02 13:24:16 -04:00
parent 9edca0bd50
commit 0e1eeba55a
6 changed files with 6 additions and 48 deletions
+2 -2
View File
@@ -467,8 +467,8 @@ namespace Game.Entities
if (IsCharmed())
RemoveCharmedBy(null);
Cypher.Assert(!GetCharmedGUID().IsEmpty(), $"Unit {GetEntry()} has charmed guid when removed from world");
Cypher.Assert(!GetCharmerGUID().IsEmpty(), $"Unit {GetEntry()} has charmer guid when removed from world");
Cypher.Assert(GetCharmedGUID().IsEmpty(), $"Unit {GetEntry()} has charmed guid when removed from world");
Cypher.Assert(GetCharmerGUID().IsEmpty(), $"Unit {GetEntry()} has charmer guid when removed from world");
Unit owner = GetOwner();
if (owner != null)