if (type == null) {
throw new RecipeException("Recipe type cannot be null");
}
switch (type.toLowerCase()) {
case "shaped":
<BUG>return getShapedRecipe(conf);
</BUG>
case "shapeless":
<BUG>return getShapelessRecipe(conf);
</BUG>
}

if (type == null) {
throw new RecipeException("Recipe type cannot be null");
}
switch (type.toLowerCase()) {
case "shaped":
return getConfigShapedRecipe(conf);
case "shapeless":
return getConfigShapelessRecipe(conf);
}
