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