aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorGTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>2023-02-11 07:55:17 +0000
committerGTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>2023-02-11 07:55:17 +0000
commit7e4926b3849c31c91f851bc46d8d567e7fe3517b (patch)
tree79b82281df7973313cad18c6f5e954997d014fed /src/main/java/com
parent637dfc8584fa42a179f636c68c7f40e41fd58261 (diff)
downloadGT5-Unofficial-7e4926b3849c31c91f851bc46d8d567e7fe3517b.tar.gz
GT5-Unofficial-7e4926b3849c31c91f851bc46d8d567e7fe3517b.tar.bz2
GT5-Unofficial-7e4926b3849c31c91f851bc46d8d567e7fe3517b.zip
Limit ME output hatches
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_EyeOfHarmony.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_EyeOfHarmony.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_EyeOfHarmony.java
index f228960921..f92673b2bc 100644
--- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_EyeOfHarmony.java
+++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_EyeOfHarmony.java
@@ -801,9 +801,9 @@ public class GT_MetaTileEntity_EM_EyeOfHarmony extends GT_MetaTileEntity_Multibl
return false;
}
- // Check if there is 1+ output bus, and they are ME output busses.
+ // Check if there is 1 output bus, and it is a ME output bus.
{
- if (mOutputBusses.size() == 0) {
+ if (mOutputBusses.size() != 1) {
return false;
}
@@ -816,7 +816,7 @@ public class GT_MetaTileEntity_EM_EyeOfHarmony extends GT_MetaTileEntity_Multibl
// Check if there is 1+ output hatch, and they are ME output hatches.
{
- if (mOutputHatches.size() == 0) {
+ if ((mOutputHatches.size() == 0) || (mOutputHatches.size() > 18)) {
return false;
}