invalidate cached itemstack if its gonna be used in a real insertion
This commit is contained in:
@@ -922,6 +922,7 @@ public class DualityInterface implements IGridTickable, IStorageMonitorable, IIn
|
|||||||
{
|
{
|
||||||
changed = true;
|
changed = true;
|
||||||
inputStack.setCount( Ints.saturatedCast( acquired.getStackSize() ) );
|
inputStack.setCount( Ints.saturatedCast( acquired.getStackSize() ) );
|
||||||
|
itemStack.setCachedItemStack( null );
|
||||||
final ItemStack issue = adaptor.addItems( inputStack );
|
final ItemStack issue = adaptor.addItems( inputStack );
|
||||||
if( !issue.isEmpty() )
|
if( !issue.isEmpty() )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user