Slightly larger En/Decoder buffers, isSimilar for Brew

This commit is contained in:
Sn0wStorm
2019-10-11 18:06:18 +02:00
parent 2121bf5c8a
commit 562f96e4b1
6 changed files with 59 additions and 17 deletions
+10
View File
@@ -327,6 +327,16 @@ public class BIngredients {
return Math.max(quality, 0);
}
@Override
public boolean equals(Object obj) {
if (this == obj) return true;
if (!(obj instanceof BIngredients)) return false;
BIngredients other = ((BIngredients) obj);
return cookedTime == other.cookedTime &&
ingredients.equals(other.ingredients) &&
materials.equals(other.materials);
}
// Creates a copy ingredients
@Override
public BIngredients clone() {