mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 07:49:03 +00:00
Listener for Barrel breaking -> LWC Support
This commit is contained in:
@@ -113,24 +113,15 @@ public class BRecipe {
|
||||
}
|
||||
|
||||
public boolean isCookingOnly() {
|
||||
if (age == 0 && distillruns == 0) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return age == 0 && distillruns == 0;
|
||||
}
|
||||
|
||||
public boolean needsDistilling() {
|
||||
if (distillruns == 0) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return distillruns != 0;
|
||||
}
|
||||
|
||||
public boolean needsToAge() {
|
||||
if (age == 0) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return age != 0;
|
||||
}
|
||||
|
||||
// true if given map misses an ingredient
|
||||
|
||||
Reference in New Issue
Block a user