Fixed door sound type

This commit is contained in:
Forstride 2016-07-13 17:08:52 -04:00
parent 27bc50ca78
commit f3a0aad4a4

View file

@ -14,6 +14,7 @@ import java.util.Random;
import biomesoplenty.common.enums.BOPWoods; import biomesoplenty.common.enums.BOPWoods;
import net.minecraft.block.BlockDoor; import net.minecraft.block.BlockDoor;
import net.minecraft.block.SoundType;
import net.minecraft.block.material.Material; import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty; import net.minecraft.block.properties.IProperty;
import net.minecraft.block.state.IBlockState; import net.minecraft.block.state.IBlockState;
@ -71,6 +72,7 @@ public class BlockBOPDoor extends BlockDoor implements IBOPBlock
super(Material.WOOD); super(Material.WOOD);
this.setHardness(3.0F); this.setHardness(3.0F);
this.setHarvestLevel("axe", 0); this.setHarvestLevel("axe", 0);
this.setSoundType(SoundType.WOOD);
this.wood = wood; this.wood = wood;
variantToBlock.put(wood, this); variantToBlock.put(wood, this);