Update Auto crafting table to use the better code from the rolling machine, should fix some issues.

This commit is contained in:
modmuss50 2019-03-06 14:06:02 +00:00
parent c1343cdc26
commit 3ca9347212
2 changed files with 180 additions and 187 deletions

View file

@ -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);
}