ingredients.put(key.charAt(0), getIngredient(ingredientSection.getStringList(key)));
}
List<String> shape = conf.getStringList("shape");
return new CustomShapedRecipe(result, ingredients, shape);
}
<BUG>private CustomRecipe getShapelessRecipe(ConfigurationSection conf) throws RecipeException {
</BUG>
ItemStack result = getIngredient(conf.getStringList("result"));
List<Ingredient> ingredients = new ArrayList<>();
ConfigurationSection ingredientSection = conf.getConfigurationSection("ingredients");

ingredients.put(key.charAt(0), getIngredient(ingredientSection.getStringList(key)));
}
List<String> shape = conf.getStringList("shape");
return new CustomShapedRecipe(result, ingredients, shape);
}
private CustomRecipe getConfigShapelessRecipe(ConfigurationSection conf) throws RecipeException {
ItemStack result = getIngredient(conf.getStringList("result"));
List<Ingredient> ingredients = new ArrayList<>();
ConfigurationSection ingredientSection = conf.getConfigurationSection("ingredients");
