aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbotn365 <42187820+botn365@users.noreply.github.com>2020-11-09 20:01:23 +0100
committerGitHub <noreply@github.com>2020-11-09 20:01:23 +0100
commit0cc795de170612d8fd93c86050d512cb3979f97d (patch)
tree8d338ca112b3ac4062820dcdf7851f8d75b1ed4b
parentdc236188d3de7217938518f3fa63ee4768db9966 (diff)
downloadGT5-Unofficial-0cc795de170612d8fd93c86050d512cb3979f97d.tar.gz
GT5-Unofficial-0cc795de170612d8fd93c86050d512cb3979f97d.tar.bz2
GT5-Unofficial-0cc795de170612d8fd93c86050d512cb3979f97d.zip
fix 16 length computer not forming (#43)
fix that a computer of 16 blocks length will not form
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_computer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_computer.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_computer.java
index 5d88fdfc50..6a6a707399 100644
--- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_computer.java
+++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_computer.java
@@ -143,7 +143,7 @@ public class GT_MetaTileEntity_EM_computer extends GT_MetaTileEntity_MultiblockB
totalLen++;
offset--;
}
- if (totalLen > 16) {
+ if (totalLen > 17) {
return false;
}
if (!structureCheck_EM(cap, blockType, blockMeta, addingMethods, casingTextures, blockTypeFallback, blockMetaFallback, 1, 2, ++offset)) {
@@ -375,4 +375,4 @@ public class GT_MetaTileEntity_EM_computer extends GT_MetaTileEntity_MultiblockB
public String[] getStructureDescription(ItemStack stackSize) {
return description;
}
-} \ No newline at end of file
+}