diff options
author | Serenibyss <10861407+serenibyss@users.noreply.github.com> | 2024-08-07 20:15:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-08 08:15:44 +0700 |
commit | 97be8a4e1eb8c7ac3f637ea4c89ff94ddc8e37c9 (patch) | |
tree | 9f64d231621398c95557010e0e8bbd757e4dfd6a /src/main/java/gtPlusPlus/xmod/gregtech/common | |
parent | b4b88e9bacff3641ea77056841cadc3b9003036f (diff) | |
download | GT5-Unofficial-97be8a4e1eb8c7ac3f637ea4c89ff94ddc8e37c9.tar.gz GT5-Unofficial-97be8a4e1eb8c7ac3f637ea4c89ff94ddc8e37c9.tar.bz2 GT5-Unofficial-97be8a4e1eb8c7ac3f637ea4c89ff94ddc8e37c9.zip |
Remove maintenance hatch requirement for late multis (#2844)
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common')
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_QuantumForceTransformer.java | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_QuantumForceTransformer.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_QuantumForceTransformer.java index bd5e579cd2..5532cd5691 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_QuantumForceTransformer.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_QuantumForceTransformer.java @@ -279,16 +279,6 @@ public class GregtechMetaTileEntity_QuantumForceTransformer .addOutputHatch(EnumChatFormatting.AQUA + "Top" + EnumChatFormatting.GRAY + " Layer", 5) .addOutputBus(EnumChatFormatting.AQUA + "Top" + EnumChatFormatting.GRAY + " Layer", 5) .addEnergyHatch(EnumChatFormatting.BLUE + "Bottom" + EnumChatFormatting.GRAY + " Layer", 4) - .addMaintenanceHatch( - EnumChatFormatting.BLUE + "Bottom" - + EnumChatFormatting.GRAY - + " or " - + EnumChatFormatting.AQUA - + "Top" - + EnumChatFormatting.GRAY - + " Layer", - 4, - 5) .addStructureInfo( EnumChatFormatting.WHITE + "Neptunium Plasma Hatch: " + EnumChatFormatting.GREEN @@ -324,7 +314,13 @@ public class GregtechMetaTileEntity_QuantumForceTransformer return false; } - if (mMaintenanceHatches.size() != 1 || mOutputBusses.isEmpty() || mOutputHatches.isEmpty()) { + if (mOutputBusses.isEmpty() || mOutputHatches.isEmpty()) { + return false; + } + + // Maintenance hatch not required but left for compatibility. + // Don't allow more than 1, no free casing spam! + if (mMaintenanceHatches.size() > 1) { return false; } @@ -936,4 +932,9 @@ public class GregtechMetaTileEntity_QuantumForceTransformer public boolean supportsBatchMode() { return true; } + + @Override + public boolean getDefaultHasMaintenanceChecks() { + return false; + } } |