From b5710e826efd3c8536d338b1996835beae6c407e Mon Sep 17 00:00:00 2001 From: asiekierka Date: Wed, 15 Oct 2014 18:49:17 +0200 Subject: [PATCH] fix style --- common/buildcraft/energy/TileEngineStone.java | 2 +- common/buildcraft/energy/TileEngineWood.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/common/buildcraft/energy/TileEngineStone.java b/common/buildcraft/energy/TileEngineStone.java index 9e37cbc1..bbc05ea0 100644 --- a/common/buildcraft/energy/TileEngineStone.java +++ b/common/buildcraft/energy/TileEngineStone.java @@ -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 diff --git a/common/buildcraft/energy/TileEngineWood.java b/common/buildcraft/energy/TileEngineWood.java index 9c4fc921..211b5a9f 100644 --- a/common/buildcraft/energy/TileEngineWood.java +++ b/common/buildcraft/energy/TileEngineWood.java @@ -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;