tweak crafting job size again
null check
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ aebuild=7
|
|||||||
aegroup=appeng
|
aegroup=appeng
|
||||||
aebasename=appliedenergistics2
|
aebasename=appliedenergistics2
|
||||||
extended=extended_life
|
extended=extended_life
|
||||||
extendedversion=v49u
|
extendedversion=v49v
|
||||||
#########################################################
|
#########################################################
|
||||||
# Versions #
|
# Versions #
|
||||||
#########################################################
|
#########################################################
|
||||||
|
|||||||
@@ -48,6 +48,11 @@ public class ContainerPartOreDictStorageBus extends AEBaseContainer
|
|||||||
{
|
{
|
||||||
final IMEInventory<IAEItemStack> cellInv = this.part.getInternalHandler();
|
final IMEInventory<IAEItemStack> cellInv = this.part.getInternalHandler();
|
||||||
|
|
||||||
|
if( cellInv == null )
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Set<Integer> oreIDs = new HashSet<>();
|
Set<Integer> oreIDs = new HashSet<>();
|
||||||
|
|
||||||
for( IAEItemStack itemStack : cellInv.getAvailableItems( AEApi.instance().storage().getStorageChannel( IItemStorageChannel.class ).createList() ) )
|
for( IAEItemStack itemStack : cellInv.getAvailableItems( AEApi.instance().storage().getStorageChannel( IItemStorageChannel.class ).createList() ) )
|
||||||
|
|||||||
@@ -252,7 +252,7 @@ public class CraftingTreeProcess
|
|||||||
pro.dive( job );
|
pro.dive( job );
|
||||||
}
|
}
|
||||||
|
|
||||||
job.addBytes( this.crafts + 8 + this.bytes );
|
job.addBytes( this.crafts * 8 + this.bytes );
|
||||||
}
|
}
|
||||||
|
|
||||||
IAEItemStack getAmountCrafted( IAEItemStack what2 )
|
IAEItemStack getAmountCrafted( IAEItemStack what2 )
|
||||||
|
|||||||
Reference in New Issue
Block a user