fix style

This commit is contained in:
asiekierka 2014-10-15 18:49:17 +02:00
parent 549cbd5219
commit b5710e826e
2 changed files with 1 additions and 2 deletions

View file

@ -160,7 +160,7 @@ public class TileEngineStone extends TileEngineWithInventory {
public int getCurrentOutput() {
double e = TARGET_OUTPUT * getMaxEnergy() - energy;
esum = MathUtils.clamp(esum + e, -eLimit, eLimit);
return (int)Math.round(MathUtils.clamp(e * kp + esum * ki, MIN_OUTPUT, MAX_OUTPUT));
return (int) Math.round(MathUtils.clamp(e * kp + esum * ki, MIN_OUTPUT, MAX_OUTPUT));
}
@Override

View file

@ -13,7 +13,6 @@ import net.minecraft.util.ResourceLocation;
import net.minecraftforge.common.util.ForgeDirection;
import buildcraft.api.power.PowerHandler;
import buildcraft.api.transport.IPipeTile.PipeType;
import buildcraft.transport.TileGenericPipe;