FIX JEI transfer not working correctly
Missing on the crafting terminal
This commit is contained in:
@@ -244,12 +244,10 @@ public class PacketJEIRecipe extends AppEngPacket
|
|||||||
}
|
}
|
||||||
ItemHandlerUtil.setStackInSlot( craftMatrix, x, currentItem );
|
ItemHandlerUtil.setStackInSlot( craftMatrix, x, currentItem );
|
||||||
}
|
}
|
||||||
if( this.output == null )
|
|
||||||
{
|
|
||||||
con.onCraftMatrixChanged( new WrapperInvItemHandler( craftMatrix ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
if( this.output != null && !( (ContainerPatternTerm) con ).isCraftingMode() )
|
con.onCraftMatrixChanged( new WrapperInvItemHandler( craftMatrix ) );
|
||||||
|
|
||||||
|
if( this.output != null && con instanceof ContainerPatternTerm && !( (ContainerPatternTerm) con ).isCraftingMode() )
|
||||||
{
|
{
|
||||||
IItemHandler outputSlots = cct.getInventoryByName( "output" );
|
IItemHandler outputSlots = cct.getInventoryByName( "output" );
|
||||||
for( int i = 0; i < this.output.length; ++i )
|
for( int i = 0; i < this.output.length; ++i )
|
||||||
|
|||||||
@@ -89,11 +89,11 @@ class RecipeTransferHandler<T extends Container> implements IRecipeTransferHandl
|
|||||||
return new RecipeTransferErrorTooltip( I18n.format( "gui.appliedenergistics2.ProcessingPattern" ) );
|
return new RecipeTransferErrorTooltip( I18n.format( "gui.appliedenergistics2.ProcessingPattern" ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return RecipeTransferErrorInternal.INSTANCE;
|
return RecipeTransferErrorInternal.INSTANCE;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if( !doTransfer )
|
if( !doTransfer )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user