From 8ac58626bd4caa9e49f58acc6b97ac031f6c2107 Mon Sep 17 00:00:00 2001 From: Raven Szewczyk Date: Mon, 10 Apr 2023 17:49:16 +0100 Subject: Update spotless config to 0.2.2 --- src/main/java/gregtech/api/graphs/paths/PowerNodePath.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main/java/gregtech/api/graphs/paths') 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; -- cgit