Copy Item Stack before manipulating DSU.
This commit is contained in:
@@ -74,6 +74,7 @@ public class MFRDSU implements IMEInventory<IAEItemStack>
|
|||||||
{
|
{
|
||||||
if ( request.getStackSize() >= is.stackSize )
|
if ( request.getStackSize() >= is.stackSize )
|
||||||
{
|
{
|
||||||
|
is = is.copy();
|
||||||
if ( mode == Actionable.MODULATE )
|
if ( mode == Actionable.MODULATE )
|
||||||
dsu.setStoredItemCount( 0 );
|
dsu.setStoredItemCount( 0 );
|
||||||
return AEItemStack.create( is );
|
return AEItemStack.create( is );
|
||||||
|
|||||||
Reference in New Issue
Block a user