Fixed Charcoal Blocks and Refined Flowstone screwing up

This commit is contained in:
Aidan C. Brady 2015-03-19 20:16:21 -04:00
parent eb7865b967
commit 6276439c51

View file

@ -1055,16 +1055,19 @@ public class BlockBasic extends Block implements IBlockCTM, ICustomBlockIcon
return ctms[meta][1]; return ctms[meta][1];
} }
if(blockType == BasicBlock.BASIC_BLOCK_2)
{
if(meta == 3) if(meta == 3)
{ {
TileEntityInductionCell tileEntity = (TileEntityInductionCell)world.getTileEntity(x, y, z); TileEntityInductionCell tileEntity = (TileEntityInductionCell)world.getTileEntity(x, y, z);
return ctms[meta][tileEntity.tier.ordinal()]; return ctms[meta][tileEntity.tier.ordinal()];
} }
if(meta == 4) else if(meta == 4)
{ {
TileEntityInductionProvider tileEntity = (TileEntityInductionProvider)world.getTileEntity(x, y, z); TileEntityInductionProvider tileEntity = (TileEntityInductionProvider)world.getTileEntity(x, y, z);
return ctms[meta][tileEntity.tier.ordinal()]; return ctms[meta][tileEntity.tier.ordinal()];
} }
}
return ctms[meta][0]; return ctms[meta][0];
} }