fix top and bottom

This commit is contained in:
Technus 2017-01-21 13:59:18 +01:00
parent 863bbc44fb
commit 433f352d82

View file

@ -51,6 +51,12 @@ public class GT_Block_Casings6
@Override @Override
@SideOnly(Side.CLIENT) @SideOnly(Side.CLIENT)
public IIcon getIcon(int aSide, int aMeta) { 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) { switch (aMeta) {
case 1: case 1:
return Textures.BlockIcons.MACHINE_CASING_TANK_1.getIcon(); return Textures.BlockIcons.MACHINE_CASING_TANK_1.getIcon();