aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech/common
diff options
context:
space:
mode:
authorJordan Byrne <draknyte1@hotmail.com>2018-02-26 04:59:03 +1000
committerJordan Byrne <draknyte1@hotmail.com>2018-02-26 04:59:03 +1000
commitc30fc210a3ada13c43f2bd63812d8fc584abc8fb (patch)
tree92eec8de494532d1ec5ca1722df8a0c57a4810b3 /src/Java/gtPlusPlus/xmod/gregtech/common
parent5787445c8d1549edd5c648bc3241683dcfe17316 (diff)
downloadGT5-Unofficial-c30fc210a3ada13c43f2bd63812d8fc584abc8fb.tar.gz
GT5-Unofficial-c30fc210a3ada13c43f2bd63812d8fc584abc8fb.tar.bz2
GT5-Unofficial-c30fc210a3ada13c43f2bd63812d8fc584abc8fb.zip
$ Fixed a bug with Cyanite plates added when Big Reactors is found. They were incorrectly getting OreDicted to plateBlutonium.
$ Fixed Clay plates generating if they already exist.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_PowerSubStationController.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_PowerSubStationController.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_PowerSubStationController.java
index 26c89999bd..5be4dcd6d8 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_PowerSubStationController.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_PowerSubStationController.java
@@ -97,10 +97,7 @@ public class GregtechMetaTileEntity_PowerSubStationController extends GregtechMe
@Override
public boolean checkRecipe(final ItemStack aStack) {
-
-
-
- return false;
+ return (this.mActualStoredEU >= 0);
}
@Override
@@ -418,7 +415,7 @@ public class GregtechMetaTileEntity_PowerSubStationController extends GregtechMe
if (this.getBaseMetaTileEntity().isAllowedToWork()){
//Input Power
- if (this.mActualStoredEU < this.maxEUStore() && mMaxProgresstime > 0){
+ if (this.mActualStoredEU < this.maxEUStore()){
if (this.getBaseMetaTileEntity().isAllowedToWork()){
this.getBaseMetaTileEntity().enableWorking();
}