More refactoring of code.
This commit is contained in:
@@ -2715,7 +2715,7 @@ namespace Game.Spells
|
||||
if (ReferenceEquals(first, other))
|
||||
return true;
|
||||
|
||||
if ((object)first == null || (object)other == null)
|
||||
if (ReferenceEquals(first, null) || ReferenceEquals(other, null))
|
||||
return false;
|
||||
|
||||
return first.Equals(other);
|
||||
|
||||
Reference in New Issue
Block a user