From 3eee273dec666877722937af3e3c5082e3a97d4e Mon Sep 17 00:00:00 2001 From: Léa Gris Date: Sun, 2 Apr 2023 15:20:07 +0200 Subject: Fix: Basic heat vent works without water (#1832) Address Mod-pack issue https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/13112 --- src/main/java/gregtech/common/covers/GT_Cover_Vent.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 } -- cgit