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