MOre fixed warnings

This commit is contained in:
drcrazy 2017-10-01 03:15:58 +03:00
parent 1c95ca4967
commit 1c57bd0100
5 changed files with 6 additions and 6 deletions

View file

@ -130,8 +130,8 @@ public class GuiAutoCrafting extends GuiBase {
}
if (recipe instanceof ShapedOreRecipe) {
ShapedOreRecipe shapedrecipes = (ShapedOreRecipe) recipe;
recipeWidth = shapedrecipes.getWidth();
recipeHeight = shapedrecipes.getHeight();
recipeWidth = shapedrecipes.getRecipeWidth();
recipeHeight = shapedrecipes.getRecipeHeight();
}
Iterator<Ingredient> ingredients = recipe.getIngredients().iterator();
for (int rHeight = 0; rHeight < recipeHeight; ++rHeight) {