Typo originaInput

This commit is contained in:
thatsIch 2014-09-21 01:49:46 +02:00
parent 6c6ce4db7e
commit 2c1a5a9fdf

View file

@ -271,7 +271,7 @@ public class PartP2PBCPower extends PartP2PTunnel<PartP2PBCPower> implements IPo
if ( output || !proxy.isActive() )
return 0;
double originaInput = mj;
double originalInput = mj;
try
{
@ -295,7 +295,7 @@ public class PartP2PBCPower extends PartP2PTunnel<PartP2PBCPower> implements IPo
IBatteryObject o = g.getTargetBattery();
if ( o != null )
{
double fraction = originaInput / outputs;
double fraction = originalInput / outputs;
if ( cycleLimitMode )
fraction = o.addEnergy( fraction );
else
@ -319,7 +319,7 @@ public class PartP2PBCPower extends PartP2PTunnel<PartP2PBCPower> implements IPo
}
}
return originaInput - mj;
return originalInput - mj;
}
catch (GridAccessException e)
{