Fix issues with Recipe API
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
+ char c = 'a';
|
||||
+ for (Optional<Ingredient> list : this.pattern.ingredients()) {
|
||||
+ RecipeChoice choice = CraftRecipe.toBukkit(list);
|
||||
+ if (choice != null) {
|
||||
+ if (choice != RecipeChoice.empty()) { // Paper
|
||||
+ recipe.setIngredient(c, choice);
|
||||
+ }
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user