mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 07:19:56 +03:00
12 lines
790 B
Diff
12 lines
790 B
Diff
--- ../src-base/minecraft/net/minecraft/client/gui/recipebook/GuiRecipeBook.java
|
|
+++ ../src-work/minecraft/net/minecraft/client/gui/recipebook/GuiRecipeBook.java
|
|
@@ -485,7 +485,7 @@
|
|
this.ghostRecipe.addIngredient(Ingredient.fromStacks(itemstack), (p_193951_2_.get(0)).xPos, (p_193951_2_.get(0)).yPos);
|
|
int i = this.craftingSlots.getWidth();
|
|
int j = this.craftingSlots.getHeight();
|
|
- int k = p_193951_1_ instanceof ShapedRecipes ? ((ShapedRecipes)p_193951_1_).getWidth() : i;
|
|
+ int k = p_193951_1_ instanceof net.minecraftforge.common.crafting.IShapedRecipe ? ((net.minecraftforge.common.crafting.IShapedRecipe)p_193951_1_).getRecipeWidth() : i;
|
|
int l = 1;
|
|
Iterator<Ingredient> iterator = p_193951_1_.getIngredients().iterator();
|
|
|