mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 10:08:54 +00:00
Add/change recipes by plugin
This commit is contained in:
@@ -201,7 +201,7 @@ public class Brew {
|
||||
public boolean setRecipeFromString(String name) {
|
||||
currentRecipe = null;
|
||||
if (name != null && !name.equals("")) {
|
||||
for (BRecipe recipe : BRecipe.recipes) {
|
||||
for (BRecipe recipe : BRecipe.getAllRecipes()) {
|
||||
if (recipe.getRecipeName().equalsIgnoreCase(name)) {
|
||||
currentRecipe = recipe;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user