aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/github/technus/tectech/elementalMatter/machine/GT_MetaTileEntity_MultiblockBase_Elemental.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/main/java/com/github/technus/tectech/elementalMatter/machine/GT_MetaTileEntity_MultiblockBase_Elemental.java b/src/main/java/com/github/technus/tectech/elementalMatter/machine/GT_MetaTileEntity_MultiblockBase_Elemental.java
index 582a919282..16383f780d 100644
--- a/src/main/java/com/github/technus/tectech/elementalMatter/machine/GT_MetaTileEntity_MultiblockBase_Elemental.java
+++ b/src/main/java/com/github/technus/tectech/elementalMatter/machine/GT_MetaTileEntity_MultiblockBase_Elemental.java
@@ -299,7 +299,10 @@ public abstract class GT_MetaTileEntity_MultiblockBase_Elemental extends GT_Meta
if(eDismatleBoom && mMaxProgresstime>0) explodeMultiblock();
else if(outputEM!=null)
for(cElementalInstanceStackTree tree:outputEM)
- if(tree.hasStacks()) explodeMultiblock();
+ if(tree.hasStacks()) {
+ explodeMultiblock();
+ break;
+ }
if(eUncertainHatches.size()>1) mMachine=false;
@@ -1206,14 +1209,13 @@ public abstract class GT_MetaTileEntity_MultiblockBase_Elemental extends GT_Meta
for (GT_MetaTileEntity_Hatch_Param hatch : eParamHatches)
hatch.getBaseMetaTileEntity().setActive(false);
}
- if(outputEM!=null) {
- for (cElementalInstanceStackTree output : outputEM) {
+ if(eDismatleBoom && mMaxProgresstime>0) explodeMultiblock();
+ else if(outputEM!=null)
+ for (cElementalInstanceStackTree output : outputEM)
if (output.hasStacks()) {
explodeMultiblock();
return;
}
- }
- }
}catch (Exception e){
if(TecTech.ModConfig.DEBUG_MODE) e.printStackTrace();
}