diff options
author | botn365 <42187820+botn365@users.noreply.github.com> | 2021-07-02 20:42:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-02 20:42:33 +0200 |
commit | 6f80c03736d6d9ea9c72d19f0af72fc727714370 (patch) | |
tree | b1b2d239b8321bc77603d24bf4fe8c0416a6b174 /src/main/java/gregtech/api/graphs/paths | |
parent | dfa013f95f89a1d864f5d44dd118557ef24a7308 (diff) | |
parent | a45737253c61e5e2d51ac868b698baadd57b397f (diff) | |
download | GT5-Unofficial-6f80c03736d6d9ea9c72d19f0af72fc727714370.tar.gz GT5-Unofficial-6f80c03736d6d9ea9c72d19f0af72fc727714370.tar.bz2 GT5-Unofficial-6f80c03736d6d9ea9c72d19f0af72fc727714370.zip |
Merge pull request #584 from GTNewHorizons/enet-typo-fix
Fix typo in bot's enet implementation
Diffstat (limited to 'src/main/java/gregtech/api/graphs/paths')
-rw-r--r-- | src/main/java/gregtech/api/graphs/paths/PowerNodePath.java | 4 |
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) { |