diff options
author | 梅天佑 <52530814+MeiTianyou@users.noreply.github.com> | 2024-05-04 17:38:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-04 11:38:22 +0200 |
commit | fce93434b66b1777912bf289747dfd7e94764116 (patch) | |
tree | fd72406ea111a02f843738b7c82f0fe1d614c4ed /src | |
parent | da8f8e71f28084b0d8ac8d27289e261f668f1403 (diff) | |
download | GT5-Unofficial-fce93434b66b1777912bf289747dfd7e94764116.tar.gz GT5-Unofficial-fce93434b66b1777912bf289747dfd7e94764116.tar.bz2 GT5-Unofficial-fce93434b66b1777912bf289747dfd7e94764116.zip |
why return in middle of loop? ? ? (#254)
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/goodgenerator/blocks/tileEntity/EssentiaHatch.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/goodgenerator/blocks/tileEntity/EssentiaHatch.java b/src/main/java/goodgenerator/blocks/tileEntity/EssentiaHatch.java index 24c827e742..563029aa03 100644 --- a/src/main/java/goodgenerator/blocks/tileEntity/EssentiaHatch.java +++ b/src/main/java/goodgenerator/blocks/tileEntity/EssentiaHatch.java @@ -99,7 +99,7 @@ public class EssentiaHatch extends TileEntity implements IAspectContainer, IEsse if (te[i] != null) { IEssentiaTransport pipe = (IEssentiaTransport) te[i]; if (!pipe.canOutputTo(ForgeDirection.VALID_DIRECTIONS[i])) { - return; + continue; } if ((pipe.getEssentiaType(ForgeDirection.VALID_DIRECTIONS[i].getOpposite()) != null) && (pipe.getSuctionAmount(ForgeDirection.VALID_DIRECTIONS[i]) |