diff options
author | Glease <4586901+Glease@users.noreply.github.com> | 2021-01-17 16:21:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-17 16:21:43 +0800 |
commit | 02d173b9be253fec6c5c2e323c0b16f8e63c692d (patch) | |
tree | 965024fdc217e9ff2a60a563c9574af9e082e952 /src/main/java/gregtech/common | |
parent | ea52a068e4c4343f8d62603a63859e3f37fea26f (diff) | |
download | GT5-Unofficial-02d173b9be253fec6c5c2e323c0b16f8e63c692d.tar.gz GT5-Unofficial-02d173b9be253fec6c5c2e323c0b16f8e63c692d.tar.bz2 GT5-Unofficial-02d173b9be253fec6c5c2e323c0b16f8e63c692d.zip |
Fix cleanroom power usage
Diffstat (limited to 'src/main/java/gregtech/common')
-rw-r--r-- | src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_Cleanroom.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_Cleanroom.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_Cleanroom.java index 5706a225e6..962fa54bf3 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_Cleanroom.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_Cleanroom.java @@ -73,7 +73,7 @@ public class GT_MetaTileEntity_Cleanroom extends GT_MetaTileEntity_MultiBlockBas public boolean checkRecipe(ItemStack aStack) { mEfficiencyIncrease = 100; // use the standard overclock mechanism to determine duration and estimate a maximum consumption - calculateOverclockedNessMulti(40, 45 * Math.min(1, mHeight - 1), 1, getMaxInputVoltage()); + calculateOverclockedNessMulti(40, 45 * Math.max(1, mHeight - 1), 1, getMaxInputVoltage()); // negate it to trigger the special energy consumption function. divide by 10 to get the actual final consumption. mEUt /= -10; return true; |