Fixes a crash when using auction house. and using hearth stone/teleporting.

This commit is contained in:
hondacrx
2022-11-05 17:55:37 -04:00
parent b5cd2f5422
commit bca92b80b9
3 changed files with 12 additions and 9 deletions
@@ -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;