Merge pull request #610 from TheJulianJES/Sound-Material-Fix

Changed Sound and Material, also aligned some to vanilla
This commit is contained in:
thatsIch 2014-12-21 13:44:03 +01:00
commit 9bd33b58e1
2 changed files with 3 additions and 4 deletions

View file

@ -113,12 +113,12 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
{ {
super( mat ); super( mat );
if ( mat == AEGlassMaterial.instance ) if ( mat == AEGlassMaterial.instance || mat == Material.glass )
setStepSound( Block.soundTypeGlass );
else if ( mat == Material.glass )
setStepSound( Block.soundTypeGlass ); setStepSound( Block.soundTypeGlass );
else if ( mat == Material.rock ) else if ( mat == Material.rock )
setStepSound( Block.soundTypeStone ); setStepSound( Block.soundTypeStone );
else if ( mat == Material.wood )
setStepSound( Block.soundTypeWood );
else else
setStepSound( Block.soundTypeMetal ); setStepSound( Block.soundTypeMetal );

View file

@ -43,7 +43,6 @@ public class BlockCrank extends AEBaseBlock
public BlockCrank() { public BlockCrank() {
super( BlockCrank.class, Material.wood ); super( BlockCrank.class, Material.wood );
setStepSound( Block.soundTypeWood );
setFeature( EnumSet.of( AEFeature.GrindStone ) ); setFeature( EnumSet.of( AEFeature.GrindStone ) );
setTileEntity( TileCrank.class ); setTileEntity( TileCrank.class );
setLightOpacity( 0 ); setLightOpacity( 0 );