Fixes AutoCrafting table crash closes #1423
This commit is contained in:
parent
34816e5ee7
commit
e9039e6693
2 changed files with 4 additions and 1 deletions
|
@ -189,7 +189,7 @@ public class GuiAutoCrafting extends GuiBase {
|
|||
for (int i = 0; i < 9; i++) {
|
||||
dummyInv.setInventorySlotContents(i, ItemStack.EMPTY);
|
||||
}
|
||||
this.recipeSlector.func_194303_a(this.width, this.height, this.mc, false, dummyInv);
|
||||
this.recipeSlector.func_194303_a(this.width, this.height, Minecraft.getMinecraft(), false, dummyInv);
|
||||
this.guiLeft = this.recipeSlector.updateScreenPosition(false, this.width, this.xSize);
|
||||
}
|
||||
|
||||
|
|
|
@ -5,3 +5,6 @@ public net.minecraft.client.gui.recipebook.GuiRecipeBook field_193960_m # toggle
|
|||
public net.minecraft.client.gui.recipebook.GuiRecipeBook field_191904_o # width
|
||||
public net.minecraft.client.gui.recipebook.GuiRecipeBook field_191905_p # height
|
||||
public net.minecraft.client.gui.recipebook.GuiRecipeBook field_191903_n # xOffset
|
||||
|
||||
public net.minecraft.client.gui.inventory.GuiContainer field_147003_i # guiLeft
|
||||
public net.minecraft.client.gui.inventory.GuiContainer field_147009_r # guiTop
|
||||
|
|
Loading…
Reference in a new issue