From c30fc210a3ada13c43f2bd63812d8fc584abc8fb Mon Sep 17 00:00:00 2001 From: Jordan Byrne Date: Mon, 26 Feb 2018 04:59:03 +1000 Subject: $ 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. --- .../multi/GregtechMetaTileEntity_PowerSubStationController.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/Java/gtPlusPlus/xmod/gregtech/common') 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(); } -- cgit