diff options
Diffstat (limited to 'src/main/java/gregtech/api/graphs/paths')
-rw-r--r-- | src/main/java/gregtech/api/graphs/paths/PowerNodePath.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/gregtech/api/graphs/paths/PowerNodePath.java b/src/main/java/gregtech/api/graphs/paths/PowerNodePath.java index 97edd5757c..a232822b26 100644 --- a/src/main/java/gregtech/api/graphs/paths/PowerNodePath.java +++ b/src/main/java/gregtech/api/graphs/paths/PowerNodePath.java @@ -28,7 +28,7 @@ public class PowerNodePath extends NodePath { public void applyVoltage(long aVoltage, boolean aCountUp) { int tNewTime = MinecraftServer.getServer() - .getTickCounter(); + .getTickCounter(); if (mTick != tNewTime) { reset(tNewTime - mTick); mTick = tNewTime; @@ -78,8 +78,7 @@ public class PowerNodePath extends NodePath { // but still allow the player to see if activity is happening public long getAmps() { int tTime = MinecraftServer.getServer() - .getTickCounter() - - 10; + .getTickCounter() - 10; if (mTick < tTime) { reset(tTime - mTick); mTick = tTime; |