Implemented item models for cables.

This commit is contained in:
Sebastian Hartte
2016-08-26 19:07:15 +02:00
parent a5398240a0
commit 71a88aa668
79 changed files with 695 additions and 83 deletions
@@ -152,14 +152,10 @@ public class BlockCableBus extends AEBaseTileBlock
@Override
public int getLightValue( final IBlockState state, final IBlockAccess world, final BlockPos pos )
{
if( state != null && state.getBlock() != this )
if( state.getBlock() != this )
{
return state.getBlock().getLightValue( state, world, pos );
}
if( state == null )
{
return 0;
}
return this.cb( world, pos ).getLightValue();
}