Puts everywhere brackets
This commit is contained in:
@@ -93,7 +93,9 @@ public final class DisassembleRecipe implements IRecipe
|
||||
// needs a single input in the recipe
|
||||
itemCount++;
|
||||
if ( itemCount > 1 )
|
||||
{
|
||||
return MISMATCHED_STACK;
|
||||
}
|
||||
|
||||
// handle storage cells
|
||||
for( ItemStack storageCellStack : this.getCellOutput( stackInSlot ).asSet() )
|
||||
@@ -104,7 +106,9 @@ public final class DisassembleRecipe implements IRecipe
|
||||
{
|
||||
IItemList<IAEItemStack> list = cellInv.getAvailableItems( StorageChannel.ITEMS.createList() );
|
||||
if( !list.isEmpty() )
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
output = storageCellStack;
|
||||
|
||||
@@ -69,7 +69,9 @@ public final class FacadeRecipe implements IRecipe
|
||||
|
||||
ItemStack facades = facade.createFacadeForItem( inv.getStackInSlot( 4 ), !createFacade );
|
||||
if( facades != null && createFacade )
|
||||
{
|
||||
facades.stackSize = 4;
|
||||
}
|
||||
return facades;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -144,7 +144,9 @@ public class ShapedRecipe implements IRecipe, IRecipeBakeable
|
||||
public boolean matches( InventoryCrafting inv, World world )
|
||||
{
|
||||
if( this.disable )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
for( int x = 0; x <= MAX_CRAFT_GRID_WIDTH - this.width; x++ )
|
||||
{
|
||||
@@ -187,7 +189,9 @@ public class ShapedRecipe implements IRecipe, IRecipeBakeable
|
||||
private boolean checkMatch( InventoryCrafting inv, int startX, int startY, boolean mirror )
|
||||
{
|
||||
if( this.disable )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
for( int x = 0; x < MAX_CRAFT_GRID_WIDTH; x++ )
|
||||
{
|
||||
@@ -310,7 +314,9 @@ public class ShapedRecipe implements IRecipe, IRecipeBakeable
|
||||
for( Object o : this.input )
|
||||
{
|
||||
if( o instanceof IIngredient )
|
||||
{
|
||||
( (IIngredient) o ).bake();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( MissingIngredientError err )
|
||||
|
||||
@@ -71,7 +71,9 @@ public class ShapelessRecipe implements IRecipe, IRecipeBakeable
|
||||
public boolean matches( InventoryCrafting var1, World world )
|
||||
{
|
||||
if( this.disable )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
ArrayList<Object> required = new ArrayList<Object>( this.input );
|
||||
|
||||
@@ -167,7 +169,9 @@ public class ShapelessRecipe implements IRecipe, IRecipeBakeable
|
||||
for( Object o : this.input )
|
||||
{
|
||||
if( o instanceof IIngredient )
|
||||
{
|
||||
( (IIngredient) o ).bake();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch( MissingIngredientError e )
|
||||
|
||||
Reference in New Issue
Block a user