aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/blocks
diff options
context:
space:
mode:
authorGlease <4586901+Glease@users.noreply.github.com>2022-09-04 00:01:02 +0800
committerGitHub <noreply@github.com>2022-09-03 18:01:02 +0200
commit57543ea5994402f6859a83b55e2cdddd12b4f069 (patch)
treebe227fa9b3de366b2d70f62a7f2009d1bef05b39 /src/main/java/gregtech/common/blocks
parent1d081aab2517de56a8d4e76b09e6abf7a0453009 (diff)
downloadGT5-Unofficial-57543ea5994402f6859a83b55e2cdddd12b4f069.tar.gz
GT5-Unofficial-57543ea5994402f6859a83b55e2cdddd12b4f069.tar.bz2
GT5-Unofficial-57543ea5994402f6859a83b55e2cdddd12b4f069.zip
merge in ASM-ed in changes from gt++ (#1339)
* merge in ASM-ed in changes from gt++ * Spotless apply for branch gtpp-asm-merge for #1339 (#1340) Co-authored-by: Glease <4586901+Glease@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/common/blocks')
-rw-r--r--src/main/java/gregtech/common/blocks/GT_Block_Machines.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Machines.java b/src/main/java/gregtech/common/blocks/GT_Block_Machines.java
index ea1df39932..b497ccaa8e 100644
--- a/src/main/java/gregtech/common/blocks/GT_Block_Machines.java
+++ b/src/main/java/gregtech/common/blocks/GT_Block_Machines.java
@@ -587,10 +587,7 @@ public class GT_Block_Machines extends GT_Generic_Block implements IDebugableBlo
@Override
public TileEntity createTileEntity(World aWorld, int aMeta) {
- if (aMeta < 4) {
- return GregTech_API.constructBaseMetaTileEntity();
- }
- return new BaseMetaPipeEntity();
+ return GregTech_API.createTileEntity(aMeta);
}
@Override