diff options
author | Jason Mitchell <mitchej@gmail.com> | 2019-07-15 20:21:03 -0700 |
---|---|---|
committer | Jason Mitchell <mitchej@gmail.com> | 2019-07-15 20:21:03 -0700 |
commit | ec3fba6409b5ccfdc90494c95fffc7cafd95a3f3 (patch) | |
tree | 609e8a0e4e73288b0fa96d53ef82ca0ec951dcc5 /src/main/java | |
parent | dd16bb2663b30b494a434c197f44ac268d455c42 (diff) | |
download | GT5-Unofficial-ec3fba6409b5ccfdc90494c95fffc7cafd95a3f3.tar.gz GT5-Unofficial-ec3fba6409b5ccfdc90494c95fffc7cafd95a3f3.tar.bz2 GT5-Unofficial-ec3fba6409b5ccfdc90494c95fffc7cafd95a3f3.zip |
document potential cable gotchas
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/gregtech/api/metatileentity/TileIC2EnergySink.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/TileIC2EnergySink.java b/src/main/java/gregtech/api/metatileentity/TileIC2EnergySink.java index 6e441e4762..16af004957 100644 --- a/src/main/java/gregtech/api/metatileentity/TileIC2EnergySink.java +++ b/src/main/java/gregtech/api/metatileentity/TileIC2EnergySink.java @@ -45,6 +45,10 @@ public class TileIC2EnergySink extends TileEntity implements IEnergySink { @Override public double getDemandedEnergy() { if(cableMeta != null) { + // We don't want everything to join the enet (treating the cable as a conductor) so we join it as a ink. We don't want to traverse all cables + // connected to this (like we would during distribution) to see if it actually needs any EU... so we just always say we want it all. If there + // are more than two things attached, and one of them is a GT cable that doesn't have anywhere to send it's energy, the distribution will be a bit + // weird. In that case only use one cable, or use a transformer. return (cableMeta.mVoltage * cableMeta.mAmperage); } else |