fix turbine check in large turbines
This commit is contained in:
parent
c2afb4b256
commit
61e8278efa
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ public abstract class GT_MetaTileEntity_LargeTurbine extends GT_MetaTileEntity_M
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean checkRecipe(ItemStack aStack) {
|
public boolean checkRecipe(ItemStack aStack) {
|
||||||
|
if(aStack==null || !(aStack.getItem() instanceof GT_MetaGenerated_Tool) || aStack.getItemDamage() < 170 || aStack.getItemDamage() >179)return false;
|
||||||
ArrayList<FluidStack> tFluids = getStoredFluids();
|
ArrayList<FluidStack> tFluids = getStoredFluids();
|
||||||
if (tFluids.size() > 0) {
|
if (tFluids.size() > 0) {
|
||||||
if (baseEff == 0 || optFlow == 0 || counter >= 1000 || this.getBaseMetaTileEntity().hasWorkJustBeenEnabled()
|
if (baseEff == 0 || optFlow == 0 || counter >= 1000 || this.getBaseMetaTileEntity().hasWorkJustBeenEnabled()
|
||||||
|
|
Loading…
Reference in a new issue