fixed style

This commit is contained in:
SpaceToad 2014-07-04 19:36:04 +02:00
parent 2bb67431b8
commit 036f257505
2 changed files with 4 additions and 6 deletions

View file

@ -49,9 +49,9 @@ public class TriggerEnergy extends BCTrigger {
if (maxCapacity > 0) {
if (high) {
return (battery.getEnergyStored() / maxCapacity > 0.95);
return battery.getEnergyStored() / maxCapacity > 0.95;
} else {
return (battery.getEnergyStored() / maxCapacity < 0.05);
return battery.getEnergyStored() / maxCapacity < 0.05;
}
}
}
@ -71,9 +71,9 @@ public class TriggerEnergy extends BCTrigger {
if (maxCapacity > 0) {
if (high) {
return (battery.getEnergyStored() / maxCapacity > 0.95);
return battery.getEnergyStored() / maxCapacity > 0.95;
} else {
return (battery.getEnergyStored() / maxCapacity < 0.05);
return battery.getEnergyStored() / maxCapacity < 0.05;
}
}
}

View file

@ -29,8 +29,6 @@ import buildcraft.transport.PipeTransportFluids;
import buildcraft.transport.PipeTransportItems;
import buildcraft.transport.PipeTransportPower;
import buildcraft.transport.TravelingItem;
import buildcraft.transport.pipes.PipePowerWood;
public class TriggerPipeContents extends BCTrigger {