Update Auto crafting table to use the better code from the rolling machine, should fix some issues.
This commit is contained in:
parent
c1343cdc26
commit
3ca9347212
2 changed files with 180 additions and 187 deletions
|
@ -82,7 +82,7 @@ public class GuiAutoCrafting extends GuiBase {
|
|||
@Override
|
||||
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
|
||||
super.drawGuiContainerForegroundLayer(mouseX, mouseY);
|
||||
IRecipe recipe = tileAutoCraftingTable.getIRecipe();
|
||||
IRecipe recipe = tileAutoCraftingTable.findMatchingRecipe(tileAutoCraftingTable.getCraftingInventory());
|
||||
if (recipe != null) {
|
||||
renderItemStack(recipe.getRecipeOutput(), 95, 42);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue