aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTechnus <daniel112092@gmail.com>2017-09-21 21:14:49 +0200
committerTechnus <daniel112092@gmail.com>2017-09-26 20:11:52 +0200
commit8d0573c1255e2efa9063afcfbe9f1fa87b69ff45 (patch)
tree80d78ee9c07c6ca8f9eb745bc00e731616eb8dfd
parent566e04e2414cddf40696c6cc848c5b16af560851 (diff)
downloadGT5-Unofficial-8d0573c1255e2efa9063afcfbe9f1fa87b69ff45.tar.gz
GT5-Unofficial-8d0573c1255e2efa9063afcfbe9f1fa87b69ff45.tar.bz2
GT5-Unofficial-8d0573c1255e2efa9063afcfbe9f1fa87b69ff45.zip
Refactor
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_MultiblockBase_EM.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_MultiblockBase_EM.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_MultiblockBase_EM.java
index 3202a17659..fc1865aeb0 100644
--- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_MultiblockBase_EM.java
+++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_MultiblockBase_EM.java
@@ -202,7 +202,7 @@ public abstract class GT_MetaTileEntity_MultiblockBase_EM extends GT_MetaTileEnt
}
//RATHER LEAVE ALONE Section
- protected boolean EM_areChunksAroundLoaded(){
+ protected boolean areChunksAroundLoaded_EM(){
if(isValidMetaTileEntity(this) && getBaseMetaTileEntity().isServerSide()){
IGregTechTileEntity base=getBaseMetaTileEntity();
final int x=base.getXCoord();
@@ -474,7 +474,7 @@ public abstract class GT_MetaTileEntity_MultiblockBase_EM extends GT_MetaTileEnt
mMachine = checkMachine(aBaseMetaTileEntity, mInventory[1]);
if (!mMachine) {
- if ((ePowerPass && getEUVar() > V[3]) || (eDismantleBoom && mMaxProgresstime > 0 && EM_areChunksAroundLoaded()))
+ if ((ePowerPass && getEUVar() > V[3]) || (eDismantleBoom && mMaxProgresstime > 0 && areChunksAroundLoaded_EM()))
explodeMultiblock();
if (outputEM != null)
for (cElementalInstanceStackMap tree : outputEM)
@@ -1094,7 +1094,7 @@ public abstract class GT_MetaTileEntity_MultiblockBase_EM extends GT_MetaTileEnt
for (GT_MetaTileEntity_Hatch_Param hatch : eParamHatches)
hatch.getBaseMetaTileEntity().setActive(false);
}
- if ((ePowerPass && getEUVar()>V[3]) || (eDismantleBoom && mMaxProgresstime > 0 && EM_areChunksAroundLoaded())) explodeMultiblock();
+ if ((ePowerPass && getEUVar()>V[3]) || (eDismantleBoom && mMaxProgresstime > 0 && areChunksAroundLoaded_EM())) explodeMultiblock();
if (outputEM != null)
for (cElementalInstanceStackMap output : outputEM)
if (output.hasStacks()) explodeMultiblock();