aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLéa Gris <lea.gris@noiraude.net>2023-04-02 15:20:07 +0200
committerGitHub <noreply@github.com>2023-04-02 15:20:07 +0200
commit3eee273dec666877722937af3e3c5082e3a97d4e (patch)
tree0dd7d1eebed90fac84b943802c613de312e3ee84 /src
parent5c5a38427c4e72a4c9741a0b97fa9e75031392a7 (diff)
downloadGT5-Unofficial-3eee273dec666877722937af3e3c5082e3a97d4e.tar.gz
GT5-Unofficial-3eee273dec666877722937af3e3c5082e3a97d4e.tar.bz2
GT5-Unofficial-3eee273dec666877722937af3e3c5082e3a97d4e.zip
Fix: Basic heat vent works without water (#1832)
Address Mod-pack issue https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/13112
Diffstat (limited to 'src')
-rw-r--r--src/main/java/gregtech/common/covers/GT_Cover_Vent.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/gregtech/common/covers/GT_Cover_Vent.java b/src/main/java/gregtech/common/covers/GT_Cover_Vent.java
index 800d3822de..39eeda2ba2 100644
--- a/src/main/java/gregtech/common/covers/GT_Cover_Vent.java
+++ b/src/main/java/gregtech/common/covers/GT_Cover_Vent.java
@@ -85,14 +85,14 @@ public class GT_Cover_Vent extends GT_CoverBehavior {
}
if (blockAtSide == Blocks.water || blockAtSide == Blocks.flowing_water) {
chances = switch (mEfficiency) {
- case 2 -> 10000; // 100% chances for Diamond reactor vent with water
- case 1 -> 5000; // 50% chances for Gold and Overclocked reactor vents with water
+ case 3 -> 10000; // 100% chances for Diamond reactor vent with water
+ case 2 -> 5000; // 50% chances for Gold and Overclocked reactor vents with water
default -> 2500; // 25% chances for Basic reactor vent with water
};
} else if (blockAtSide.isAir(world, offsetX, offsetY, offsetZ)) {
switch (mEfficiency) {
- case 2 -> chances = 2500; // 25% chances for Diamond reactor vent with air
- case 1 -> chances = 1250; // 12.5% chances for Gold and Overclocked reactor vents with air
+ case 3 -> chances = 2500; // 25% chances for Diamond reactor vent with air
+ case 2 -> chances = 1250; // 12.5% chances for Gold and Overclocked reactor vents with air
default -> {
return 0; // Basic reactor vent cannot be used with air
}