mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 07:49:03 +00:00
Slightly larger En/Decoder buffers, isSimilar for Brew
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user