Fix ItemInfo.equals() not functioning as intended.

This commit is contained in:
sk89q 2014-09-30 12:15:54 -07:00
parent 5d08726880
commit 3f6c87d8f5

View file

@ -22,7 +22,7 @@ public class ItemInfo
@Override
public boolean equals(Object obj)
{
return obj instanceof BlockInfo &&
return obj instanceof ItemInfo &&
((ItemInfo)obj).item == item &&
((ItemInfo)obj).meta == meta;
}