No longer invalidate the cache of MEMonitorIInventory on simulate.
Should fix #1036
This commit is contained in:
parent
a95b9962b9
commit
20f72cae04
|
@ -85,7 +85,10 @@ public class MEMonitorIInventory implements IMEMonitor<IAEItemStack>
|
||||||
out = this.adaptor.addItems( input.getItemStack() );
|
out = this.adaptor.addItems( input.getItemStack() );
|
||||||
}
|
}
|
||||||
|
|
||||||
this.onTick();
|
if( type == Actionable.MODULATE )
|
||||||
|
{
|
||||||
|
this.onTick();
|
||||||
|
}
|
||||||
|
|
||||||
if( out == null )
|
if( out == null )
|
||||||
{
|
{
|
||||||
|
@ -121,7 +124,10 @@ public class MEMonitorIInventory implements IMEMonitor<IAEItemStack>
|
||||||
IAEItemStack o = request.copy();
|
IAEItemStack o = request.copy();
|
||||||
o.setStackSize( out.stackSize );
|
o.setStackSize( out.stackSize );
|
||||||
|
|
||||||
this.onTick();
|
if( type == Actionable.MODULATE )
|
||||||
|
{
|
||||||
|
this.onTick();
|
||||||
|
}
|
||||||
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue