From 433f352d82989f74ccaef233871dbab8a09931bc Mon Sep 17 00:00:00 2001 From: Technus Date: Sat, 21 Jan 2017 13:59:18 +0100 Subject: [PATCH] fix top and bottom --- src/main/java/gregtech/common/blocks/GT_Block_Casings6.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/gregtech/common/blocks/GT_Block_Casings6.java b/src/main/java/gregtech/common/blocks/GT_Block_Casings6.java index 509fba26..68c1936b 100644 --- a/src/main/java/gregtech/common/blocks/GT_Block_Casings6.java +++ b/src/main/java/gregtech/common/blocks/GT_Block_Casings6.java @@ -51,6 +51,12 @@ public class GT_Block_Casings6 @Override @SideOnly(Side.CLIENT) public IIcon getIcon(int aSide, int aMeta) { + if (aSide == 0) { + return Textures.BlockIcons.MACHINECASINGS_BOTTOM[aMeta].getIcon(); + } + if (aSide == 1) { + return Textures.BlockIcons.MACHINECASINGS_TOP[aMeta].getIcon(); + } switch (aMeta) { case 1: return Textures.BlockIcons.MACHINE_CASING_TANK_1.getIcon();