aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorMary <33456283+FourIsTheNumber@users.noreply.github.com>2024-09-29 17:16:03 -0400
committerGitHub <noreply@github.com>2024-09-29 23:16:03 +0200
commit3f5810d8aa52d3d70c77f64fa511be74127d79b2 (patch)
tree73fdbf180e73da881fe219dae3665117168e6cee /src/main/java
parentffe89f8ef9da27d374796260bb773271b7f51e30 (diff)
downloadGT5-Unofficial-3f5810d8aa52d3d70c77f64fa511be74127d79b2.tar.gz
GT5-Unofficial-3f5810d8aa52d3d70c77f64fa511be74127d79b2.tar.bz2
GT5-Unofficial-3f5810d8aa52d3d70c77f64fa511be74127d79b2.zip
Allow HILE to tierskip (#3301)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/MTEIndustrialLaserEngraver.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/MTEIndustrialLaserEngraver.java b/src/main/java/gregtech/common/tileentities/machines/multi/MTEIndustrialLaserEngraver.java
index 1516695a88..79af9a2e6b 100644
--- a/src/main/java/gregtech/common/tileentities/machines/multi/MTEIndustrialLaserEngraver.java
+++ b/src/main/java/gregtech/common/tileentities/machines/multi/MTEIndustrialLaserEngraver.java
@@ -245,6 +245,7 @@ public class MTEIndustrialLaserEngraver extends MTEExtendedPowerMultiBlockBase<M
.addInfo("200% faster than single block machines of the same voltage")
.addInfo("Uses 80% of the EU normally required")
.addInfo("Laser source hatch determines maximum recipe tier and parallels")
+ .addInfo("Can perform recipes up to laser source tier + 1")
.addInfo("Parallels equal to the cube root of laser source amperage input")
.addInfo("Glass tier determines maximum laser source tier")
.addInfo("Only accepts borosilicate glass (no, really)")
@@ -326,7 +327,7 @@ public class MTEIndustrialLaserEngraver extends MTEExtendedPowerMultiBlockBase<M
@NotNull
@Override
protected CheckRecipeResult validateRecipe(@Nonnull GTRecipe recipe) {
- if (laserTier < VoltageIndex.UXV && recipe.mEUt > GTValues.V[laserTier]) {
+ if (laserTier < VoltageIndex.UXV && recipe.mEUt > (GTValues.V[laserTier + 1])) {
return SimpleCheckRecipeResult.ofFailure("laser_insufficient");
}
return CheckRecipeResultRegistry.SUCCESSFUL;