Energy Acceptor can now accept RF into the network buffer.
This commit is contained in:
parent
a50505fed6
commit
9ae4ce54d1
2
me/cache/EnergyGridCache.java
vendored
2
me/cache/EnergyGridCache.java
vendored
|
@ -162,7 +162,7 @@ public class EnergyGridCache implements IEnergyGrid
|
|||
@Override
|
||||
public double getEnergyDemand(double maxRequired)
|
||||
{
|
||||
double required = 0;
|
||||
double required = buffer() - extra;
|
||||
Iterator<IAEPowerStorage> it = requesters.iterator();
|
||||
while (required < maxRequired && it.hasNext())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue