More intelligent funneling demand.

This commit is contained in:
AlgorithmX2
2014-06-03 20:33:04 -05:00
parent 09ef3cc231
commit 885bdbf9d5
7 changed files with 24 additions and 10 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ public class TileController extends AENetworkPowerTile implements IAEPowerStorag
}
@Override
protected double getFunnelPowerDemand()
protected double getFunnelPowerDemand(double maxRecived)
{
try
{
@@ -48,7 +48,7 @@ public class TileController extends AENetworkPowerTile implements IAEPowerStorag
catch (GridAccessException e)
{
// no grid? use local...
return super.getFunnelPowerDemand();
return super.getFunnelPowerDemand( maxRecived );
}
}