Copy Item Stack before manipulating DSU.

This commit is contained in:
AlgorithmX2
2014-05-25 17:43:42 -05:00
parent 4cf6f4e5f9
commit cbc2486161
+1
View File
@@ -74,6 +74,7 @@ public class MFRDSU implements IMEInventory<IAEItemStack>
{
if ( request.getStackSize() >= is.stackSize )
{
is = is.copy();
if ( mode == Actionable.MODULATE )
dsu.setStoredItemCount( 0 );
return AEItemStack.create( is );