No longer invalidate the cache of MEMonitorIInventory on simulate.

Should fix #1036
This commit is contained in:
yueh 2015-06-05 19:25:54 +02:00 committed by thatsIch
parent 200e56a509
commit b05796e62b
1 changed files with 8 additions and 2 deletions

View File

@ -86,7 +86,10 @@ public class MEMonitorIInventory implements IMEMonitor<IAEItemStack>
out = this.adaptor.addItems( input.getItemStack() );
}
this.onTick();
if( type == Actionable.MODULATE )
{
this.onTick();
}
if( out == null )
{
@ -122,7 +125,10 @@ public class MEMonitorIInventory implements IMEMonitor<IAEItemStack>
IAEItemStack o = request.copy();
o.setStackSize( out.stackSize );
this.onTick();
if( type == Actionable.MODULATE )
{
this.onTick();
}
return o;
}