diff options
author | Eraldoe <Eraldoe@users.noreply.github.com> | 2023-08-17 23:32:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-18 08:32:59 +0200 |
commit | c009412fcf4f7febc984dc9eecfdf8e21efddaf1 (patch) | |
tree | 42946bce826d3ad79c2adb8970c2024fab1956f7 /src/main/java/gregtech/common/misc | |
parent | 0b58c1118035bbac95c766710e11d8ab8e396e58 (diff) | |
download | GT5-Unofficial-c009412fcf4f7febc984dc9eecfdf8e21efddaf1.tar.gz GT5-Unofficial-c009412fcf4f7febc984dc9eecfdf8e21efddaf1.tar.bz2 GT5-Unofficial-c009412fcf4f7febc984dc9eecfdf8e21efddaf1.zip |
Correct PCB Factory Energy Hatch description (#2237)
* Correct PCB Factory Energy Hatch description
Changes the PCB factory description (the one seen when holding shift) which currently says "Energy Hatches: 1+"
I believe this is incorrect and that the correct description is 1-2 energy hatches or 1 TT energy hatch.
I believe the PCB factory uses this, which checks for 1-2 or 1 TT:
public boolean checkExoticAndNormalEnergyHatches() {
if (mExoticEnergyHatches.isEmpty() && mEnergyHatches.isEmpty()) {
return false;
}
if (!mExoticEnergyHatches.isEmpty()) {
if (!mEnergyHatches.isEmpty()) {
return false;
}
if (mExoticEnergyHatches.size() != 1) {
return false;
}
}
return mEnergyHatches.size() <= 2;
}
* gradlew spotlessApply
Diffstat (limited to 'src/main/java/gregtech/common/misc')
0 files changed, 0 insertions, 0 deletions