From 35d440ad37caa51909b6d8909964df47acaba149 Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Thu, 20 Jul 2017 23:45:23 -0500 Subject: [PATCH] Add note for pagecraftingrecipe --- .../botania/common/lexicon/page/PageCraftingRecipe.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/vazkii/botania/common/lexicon/page/PageCraftingRecipe.java b/src/main/java/vazkii/botania/common/lexicon/page/PageCraftingRecipe.java index 9837fb55f..749c6e08c 100644 --- a/src/main/java/vazkii/botania/common/lexicon/page/PageCraftingRecipe.java +++ b/src/main/java/vazkii/botania/common/lexicon/page/PageCraftingRecipe.java @@ -142,7 +142,7 @@ public class PageCraftingRecipe extends PageRecipe { for(int x = 0; x < width; x++) { Ingredient input = recipe.getIngredients().get(y * width + x); if(input != Ingredient.EMPTY) - renderItemAtGridPos(gui, 1 + x, 1 + y, input.getMatchingStacks()[0], true); + renderItemAtGridPos(gui, 1 + x, 1 + y, input.getMatchingStacks()[0], true); // TODO 1.12 this isn't just used for OD anymore. need to cycle through all matching stacks } } else if(recipe instanceof ShapelessRecipes || recipe instanceof ShapelessOreRecipe) { shapelessRecipe = true; @@ -158,7 +158,7 @@ public class PageCraftingRecipe extends PageRecipe { Ingredient input = recipe.getIngredients().get(index); if(input != Ingredient.EMPTY) - renderItemAtGridPos(gui, 1 + x, 1 + y, input.getMatchingStacks()[0], true); + renderItemAtGridPos(gui, 1 + x, 1 + y, input.getMatchingStacks()[0], true); // TODO 1.12 this isn't just used for OD anymore. need to cycle through all matching stacks } } }