ChangesToPairClass

This commit is contained in:
DarkGuardsman 2013-09-23 13:36:04 -04:00
parent 5a4cbad70f
commit 016a002e05

View file

@ -307,7 +307,7 @@ public class TileEntityImprinter extends TileEntityAdvanced implements ISidedInv
{
// System.out.println("Imprint: found ideal recipe for " +
// idealRecipe.getKey().toString());
ItemStack recipeOutput = idealRecipe.getKey();
ItemStack recipeOutput = idealRecipe.left();
if (recipeOutput != null & recipeOutput.stackSize > 0)
{
this.imprinterMatrix[craftingOutputSlot] = recipeOutput;
@ -343,7 +343,7 @@ public class TileEntityImprinter extends TileEntityAdvanced implements ISidedInv
if (idealRecipeItem != null)
{
this.getCraftingManager().consumeItems(idealRecipeItem.getValue().clone());
this.getCraftingManager().consumeItems(idealRecipeItem.right().clone());
}
}
}