Fixes #3899: Put fluid interface into configured mode when needed. (#3903)

This commit is contained in:
yueh
2019-01-15 12:52:12 +01:00
committed by GitHub
parent eb389971a3
commit 46355a4e9b
@@ -255,6 +255,17 @@ public class DualityFluidInterface implements IGridTickable, IStorageMonitorable
private void readConfig()
{
this.hasConfig = false;
for( int i = 0; i < this.config.getSlots(); i++ )
{
if( this.config.getFluidInSlot( i ) != null )
{
this.hasConfig = true;
break;
}
}
final boolean had = this.hasWorkToDo();
for( int x = 0; x < NUMBER_OF_TANKS; x++ )