Fix issue with equality logic in inv panel database (Ref #2755)

This commit is contained in:
tterrag1098 committed 2015-09-02 02:54:47 -04:00
1 parent e64a031563
commit c0faf540cc
1 file changed
+1 -1
@@ -34,7 +34,7 @@ public class ItemEntryBase {
}
boolean equals(int itemID, int meta, NBTTagCompound nbt) {
return this.itemID == itemID && this.meta == meta && (this.nbt == nbt) || (this.nbt != null && this.nbt.equals(nbt));
return this.itemID == itemID && this.meta == meta && ((this.nbt == nbt) || (this.nbt != null && this.nbt.equals(nbt)));
}
public Item getItem() {