No longer invalidate the cache of MEMonitorIInventory on simulate.
Should fix #1036
This commit is contained in:
@@ -86,7 +86,10 @@ public class MEMonitorIInventory implements IMEMonitor<IAEItemStack>
|
|||||||
out = this.adaptor.addItems( input.getItemStack() );
|
out = this.adaptor.addItems( input.getItemStack() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( type == Actionable.MODULATE )
|
||||||
|
{
|
||||||
this.onTick();
|
this.onTick();
|
||||||
|
}
|
||||||
|
|
||||||
if( out == null )
|
if( out == null )
|
||||||
{
|
{
|
||||||
@@ -122,7 +125,10 @@ public class MEMonitorIInventory implements IMEMonitor<IAEItemStack>
|
|||||||
IAEItemStack o = request.copy();
|
IAEItemStack o = request.copy();
|
||||||
o.setStackSize( out.stackSize );
|
o.setStackSize( out.stackSize );
|
||||||
|
|
||||||
|
if( type == Actionable.MODULATE )
|
||||||
|
{
|
||||||
this.onTick();
|
this.onTick();
|
||||||
|
}
|
||||||
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user