Fix ItemInfo.equals() not functioning as intended.
This commit is contained in:
parent
5d08726880
commit
3f6c87d8f5
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ public class ItemInfo
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj)
|
public boolean equals(Object obj)
|
||||||
{
|
{
|
||||||
return obj instanceof BlockInfo &&
|
return obj instanceof ItemInfo &&
|
||||||
((ItemInfo)obj).item == item &&
|
((ItemInfo)obj).item == item &&
|
||||||
((ItemInfo)obj).meta == meta;
|
((ItemInfo)obj).meta == meta;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue