diff options
author | Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com> | 2022-07-17 12:50:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-17 12:50:26 +0100 |
commit | a0875d0f57753fae9f608eddf651466b04182060 (patch) | |
tree | 1bf0cd1524d4e94e59603c8971ad30fddf0a84ff /src/main/java/gregtech/api | |
parent | 1ba46be9fb42d4b4e019d1f40377b1f32e3a6c1f (diff) | |
download | GT5-Unofficial-a0875d0f57753fae9f608eddf651466b04182060.tar.gz GT5-Unofficial-a0875d0f57753fae9f608eddf651466b04182060.tar.bz2 GT5-Unofficial-a0875d0f57753fae9f608eddf651466b04182060.zip |
Unlock structurelib autoplace to accept up to eternal coils. (#1134)
Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api')
-rw-r--r-- | src/main/java/gregtech/api/util/GT_StructureUtility.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/gregtech/api/util/GT_StructureUtility.java b/src/main/java/gregtech/api/util/GT_StructureUtility.java index a627da4fd6..d211dad43d 100644 --- a/src/main/java/gregtech/api/util/GT_StructureUtility.java +++ b/src/main/java/gregtech/api/util/GT_StructureUtility.java @@ -170,8 +170,7 @@ public class GT_StructureUtility { } private int getMeta(ItemStack trigger) { - // -4 to skip unimplemented tiers - return GT_Block_Casings5.getMetaFromCoilHeat(HeatingCoilLevel.getFromTier((byte) Math.min(HeatingCoilLevel.getMaxTier() - 4, Math.max(0, trigger.stackSize - 1)))); + return GT_Block_Casings5.getMetaFromCoilHeat(HeatingCoilLevel.getFromTier((byte) Math.min(HeatingCoilLevel.getMaxTier(), Math.max(0, trigger.stackSize - 1)))); } @Override |