Fixed Outputs for non-crafting Patterns.

This commit is contained in:
AlgorithmX2 2014-05-22 21:41:54 -05:00
parent 26540869ba
commit 168309ee50

View file

@ -144,7 +144,7 @@ public class PatternHelper implements ICraftingPatternDetails
for (int x = 0; x < outTag.tagCount(); x++) for (int x = 0; x < outTag.tagCount(); x++)
{ {
ItemStack gs = ItemStack.loadItemStackFromNBT( inTag.getCompoundTagAt( x ) ); ItemStack gs = ItemStack.loadItemStackFromNBT( outTag.getCompoundTagAt( x ) );
if ( gs != null ) if ( gs != null )
out.add( AEApi.instance().storage().createItemStack( gs ) ); out.add( AEApi.instance().storage().createItemStack( gs ) );
} }