Skip to content

Commit 1987592

Browse files
committed
* New VERSION
Former-commit-id: 3b30e6a
1 parent 515b15c commit 1987592

3 files changed

Lines changed: 13 additions & 11 deletions

File tree

build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
minecraft.version=1.7.10
22
forge.version=10.13.4.1566-1.7.10
33

4-
detravscanner.version=0.33.0
4+
detravscanner.version=0.34.0
55

66
ae2.version=rv2-beta-33
77
applecore.version=1.7.10-1.2.1+107.59407

src/main/java/com/detrav/DetravScannerMod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
public class DetravScannerMod
2323
{
2424
public static final String MODID = "detravscannermod";
25-
public static final String VERSION = "0.33";
25+
public static final String VERSION = "0.34";
2626

2727
public static final CreativeTabs TAB_DETRAV = new DetravCreativeTab();
2828

src/main/java/com/detrav/tileentities/Detrav_MetaTileEntity_AdvMiner2.java

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,7 @@ public boolean checkRecipe(ItemStack aStack) {
140140
}
141141
}
142142
}
143-
if (mMineList.isEmpty()) {
144-
if(getBaseMetaTileEntity().getBlockOffset(ForgeDirection.getOrientation(getBaseMetaTileEntity().getBackFacing()).offsetX, getYOfPumpHead() - 1 - getBaseMetaTileEntity().getYCoord(), ForgeDirection.getOrientation(getBaseMetaTileEntity().getBackFacing()).offsetZ) != Blocks.bedrock){
145-
if (mEnergyHatches.size() > 0 && mEnergyHatches.get(0).getEUVar() > (512 + getMaxInputVoltage() * 4)) {
146-
moveOneDown();
147-
}
148-
}else{
149-
return false;
150-
}
151-
}
143+
152144
ArrayList<ItemStack> tDrops = new ArrayList();
153145
Block tMineBlock = null;
154146
ChunkPosition mle = null;;
@@ -202,6 +194,16 @@ public boolean checkRecipe(ItemStack aStack) {
202194
}
203195
}
204196
}
197+
else
198+
{
199+
if(getBaseMetaTileEntity().getBlockOffset(ForgeDirection.getOrientation(getBaseMetaTileEntity().getBackFacing()).offsetX, getYOfPumpHead() - 1 - getBaseMetaTileEntity().getYCoord(), ForgeDirection.getOrientation(getBaseMetaTileEntity().getBackFacing()).offsetZ) != Blocks.bedrock){
200+
if (mEnergyHatches.size() > 0 && mEnergyHatches.get(0).getEUVar() > (512 + getMaxInputVoltage() * 4)) {
201+
moveOneDown();
202+
}
203+
}else{
204+
return false;
205+
}
206+
}
205207
}
206208

207209
byte tTier = (byte) Math.max(1, GT_Utility.getTier(tVoltage));

0 commit comments

Comments
 (0)