From 90fe371c283bd6151862f216be4fdbfe64fdc53e Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Sun, 23 Mar 2014 23:03:54 -0500 Subject: [PATCH] Fixed #0229 - Facade Cost is wrong, should be 1 craft -> 4 facades --- recipes/game/FacadeRecipe.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/game/FacadeRecipe.java b/recipes/game/FacadeRecipe.java index a354bb52f..e0dd3846d 100644 --- a/recipes/game/FacadeRecipe.java +++ b/recipes/game/FacadeRecipe.java @@ -21,7 +21,10 @@ public class FacadeRecipe implements IRecipe if ( anchor.sameAs( inv.getStackInSlot( 1 ) ) && anchor.sameAs( inv.getStackInSlot( 3 ) ) && anchor.sameAs( inv.getStackInSlot( 5 ) ) && anchor.sameAs( inv.getStackInSlot( 7 ) ) ) { - return facade.createFacadeForItem( inv.getStackInSlot( 4 ), !createFacade ); + ItemStack facadeis = facade.createFacadeForItem( inv.getStackInSlot( 1 ), !createFacade ); + if ( facadeis != null ) + facadeis.stackSize = 4; + return facadeis; } } return null;