Fix a few issues when dealing with NBT items during crafting calculation.

This commit is contained in:
AlgorithmX2
2014-08-01 23:00:12 -05:00
parent 94c8ea93d2
commit e2337a1226
4 changed files with 42 additions and 7 deletions
+3 -1
View File
@@ -1640,7 +1640,9 @@ public class Platform
ci.setInventorySlotContents( slot, cp );
if ( r.matches( ci, w ) && Platform.isSameItem( r.getCraftingResult( ci ), output ) )
{
IAEItemStack ex = src.extractItems( AEItemStack.create( cp ), realForFake, mySrc );
IAEItemStack ax = x.copy();
ax.setStackSize( 1 );
IAEItemStack ex = src.extractItems( ax, realForFake, mySrc );
if ( ex != null )
{
energySrc.extractAEPower( 1, realForFake, PowerMultiplier.CONFIG );