Fixed Charcoal Blocks and Refined Flowstone screwing up
This commit is contained in:
parent
eb7865b967
commit
6276439c51
1 changed files with 11 additions and 8 deletions
|
@ -1055,15 +1055,18 @@ public class BlockBasic extends Block implements IBlockCTM, ICustomBlockIcon
|
|||
return ctms[meta][1];
|
||||
}
|
||||
|
||||
if(meta == 3)
|
||||
if(blockType == BasicBlock.BASIC_BLOCK_2)
|
||||
{
|
||||
TileEntityInductionCell tileEntity = (TileEntityInductionCell)world.getTileEntity(x, y, z);
|
||||
return ctms[meta][tileEntity.tier.ordinal()];
|
||||
}
|
||||
if(meta == 4)
|
||||
{
|
||||
TileEntityInductionProvider tileEntity = (TileEntityInductionProvider)world.getTileEntity(x, y, z);
|
||||
return ctms[meta][tileEntity.tier.ordinal()];
|
||||
if(meta == 3)
|
||||
{
|
||||
TileEntityInductionCell tileEntity = (TileEntityInductionCell)world.getTileEntity(x, y, z);
|
||||
return ctms[meta][tileEntity.tier.ordinal()];
|
||||
}
|
||||
else if(meta == 4)
|
||||
{
|
||||
TileEntityInductionProvider tileEntity = (TileEntityInductionProvider)world.getTileEntity(x, y, z);
|
||||
return ctms[meta][tileEntity.tier.ordinal()];
|
||||
}
|
||||
}
|
||||
|
||||
return ctms[meta][0];
|
||||
|
|
Loading…
Reference in a new issue