fixed style
This commit is contained in:
parent
2bb67431b8
commit
036f257505
2 changed files with 4 additions and 6 deletions
|
@ -49,9 +49,9 @@ public class TriggerEnergy extends BCTrigger {
|
||||||
|
|
||||||
if (maxCapacity > 0) {
|
if (maxCapacity > 0) {
|
||||||
if (high) {
|
if (high) {
|
||||||
return (battery.getEnergyStored() / maxCapacity > 0.95);
|
return battery.getEnergyStored() / maxCapacity > 0.95;
|
||||||
} else {
|
} 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 (maxCapacity > 0) {
|
||||||
if (high) {
|
if (high) {
|
||||||
return (battery.getEnergyStored() / maxCapacity > 0.95);
|
return battery.getEnergyStored() / maxCapacity > 0.95;
|
||||||
} else {
|
} else {
|
||||||
return (battery.getEnergyStored() / maxCapacity < 0.05);
|
return battery.getEnergyStored() / maxCapacity < 0.05;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,8 +29,6 @@ import buildcraft.transport.PipeTransportFluids;
|
||||||
import buildcraft.transport.PipeTransportItems;
|
import buildcraft.transport.PipeTransportItems;
|
||||||
import buildcraft.transport.PipeTransportPower;
|
import buildcraft.transport.PipeTransportPower;
|
||||||
import buildcraft.transport.TravelingItem;
|
import buildcraft.transport.TravelingItem;
|
||||||
import buildcraft.transport.pipes.PipePowerWood;
|
|
||||||
|
|
||||||
|
|
||||||
public class TriggerPipeContents extends BCTrigger {
|
public class TriggerPipeContents extends BCTrigger {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue