aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/graphs/paths
diff options
context:
space:
mode:
authorGlease <4586901+Glease@users.noreply.github.com>2021-07-03 02:27:44 +0800
committerGlease <4586901+Glease@users.noreply.github.com>2021-07-03 02:36:39 +0800
commita45737253c61e5e2d51ac868b698baadd57b397f (patch)
treeb1b2d239b8321bc77603d24bf4fe8c0416a6b174 /src/main/java/gregtech/api/graphs/paths
parentdfa013f95f89a1d864f5d44dd118557ef24a7308 (diff)
downloadGT5-Unofficial-a45737253c61e5e2d51ac868b698baadd57b397f.tar.gz
GT5-Unofficial-a45737253c61e5e2d51ac868b698baadd57b397f.tar.bz2
GT5-Unofficial-a45737253c61e5e2d51ac868b698baadd57b397f.zip
fix typos in enet implementation
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api/graphs/paths')
-rw-r--r--src/main/java/gregtech/api/graphs/paths/PowerNodePath.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gregtech/api/graphs/paths/PowerNodePath.java b/src/main/java/gregtech/api/graphs/paths/PowerNodePath.java
index 1445e45734..736373a9ca 100644
--- a/src/main/java/gregtech/api/graphs/paths/PowerNodePath.java
+++ b/src/main/java/gregtech/api/graphs/paths/PowerNodePath.java
@@ -6,7 +6,7 @@ import gregtech.api.metatileentity.implementations.GT_MetaPipeEntity_Cable;
import net.minecraft.server.MinecraftServer;
//path for cables
-//al calculations like ams and voltage hapens here
+//all calculations like amp and voltage happens here
public class PowerNodePath extends NodePath {
int mMaxAmps;
int mAmps = 0;
@@ -59,7 +59,7 @@ public class PowerNodePath extends NodePath {
}
//if no amps pass trough for more then 0.5 second reduce them to minimize wrong results
- //but still allow the player to see if activity is hapening
+ //but still allow the player to see if activity is happening
public int getAmps() {
int tTime = MinecraftServer.getServer().getTickCounter() - 10;
if (mTick < tTime) {