Fixes a crash when using auction house. and using hearth stone/teleporting.
This commit is contained in:
@@ -959,6 +959,13 @@ namespace Game.Networking.Packets
|
||||
|
||||
public static bool operator ==(ItemInstance left, ItemInstance right)
|
||||
{
|
||||
if (ReferenceEquals(left, right))
|
||||
return true;
|
||||
if (ReferenceEquals(left, null))
|
||||
return false;
|
||||
if (ReferenceEquals(right, null))
|
||||
return false;
|
||||
|
||||
if (left.ItemID != right.ItemID)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user