Some more power changes.

This commit is contained in:
modmuss50 2017-05-18 17:19:29 +01:00
parent 034ca86c79
commit 8966538f1b
No known key found for this signature in database
GPG key ID: 203A5ED4D3E48BEA

View file

@ -301,7 +301,7 @@ public abstract class CableMultipart extends Multipart
if (pipe != null) {
int averPower = (power + pipe.power) / 2;
pipe.power = averPower;
if(averPower % 2 != 0){
if(averPower % 2 != 0 && power != 0){
averPower ++;
}
power = averPower;
@ -405,7 +405,7 @@ public abstract class CableMultipart extends Multipart
@Override
public int getMaxEnergyStored() {
return getCableType().transferRate * RebornCoreConfig.euPerFU * 2;
return getCableType().transferRate * 2;
}
@Override