aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines
diff options
context:
space:
mode:
authorRukern <alexandre.b.tardif@gmail.com>2022-08-10 09:47:41 -0400
committerGitHub <noreply@github.com>2022-08-10 15:47:41 +0200
commita1a9a488a2a63b09cc36e191e4cb9f6cfddb7419 (patch)
tree58df4fab86676deb9999750a7eb6366aa7407b47 /src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines
parent05d8cd3cf5e9665a4142b039fff9d20952513583 (diff)
downloadGT5-Unofficial-a1a9a488a2a63b09cc36e191e4cb9f6cfddb7419.tar.gz
GT5-Unofficial-a1a9a488a2a63b09cc36e191e4cb9f6cfddb7419.tar.bz2
GT5-Unofficial-a1a9a488a2a63b09cc36e191e4cb9f6cfddb7419.zip
Disable the large generator array (#273)
* Disable the large generator array * Re-add and comment Recipe Co-authored-by: Alexandre Tardif <alexandre.tardif@nexusinno.com>
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntityGeneratorArray.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntityGeneratorArray.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntityGeneratorArray.java
index a166be4efc..6428d1a3fc 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntityGeneratorArray.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntityGeneratorArray.java
@@ -237,11 +237,12 @@ public class GregtechMetaTileEntityGeneratorArray extends GregtechMeta_MultiBloc
}
return MODE_NONE;
}
-
+
@Override
public boolean checkRecipe(ItemStack aStack) {
-
- this.resetRecipeMapForAllInputHatches();
+ return false;
+
+/** this.resetRecipeMapForAllInputHatches();
this.mMode = getModeFromInventorySlot(aStack);
if (mMode == MODE_NONE) {
Logger.INFO("Did not find valid generator.");
@@ -291,7 +292,7 @@ public class GregtechMetaTileEntityGeneratorArray extends GregtechMeta_MultiBloc
Logger.INFO("No Lube.");
return false;
}*/
-
+/**
if (this.mRuntime % 72 == 0 || this.mRuntime == 0) {
this.depleteInput(Materials.Lubricant.getFluid(this.boostEu ? 2L : 1L));
}
@@ -317,6 +318,7 @@ public class GregtechMetaTileEntityGeneratorArray extends GregtechMeta_MultiBloc
this.mEUt = 0;
this.mEfficiency = 0;
return false;
+ **/
}
public static ItemStack[] clean(final ItemStack[] v) {