Fixed hardness and sounds for fences and fence gates
This commit is contained in:
parent
ab98fad052
commit
7bee1e173f
2 changed files with 8 additions and 0 deletions
|
@ -54,6 +54,10 @@ public class BlockBOPFence extends BlockFence implements IBOPBlock
|
|||
|
||||
this.wood = wood;
|
||||
variantToBlock.put(wood, this);
|
||||
|
||||
this.setHardness(2.0F);
|
||||
this.setResistance(5.0F);
|
||||
this.setStepSound(soundTypeWood);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -57,6 +57,10 @@ public class BlockBOPFenceGate extends BlockFenceGate implements IBOPBlock
|
|||
|
||||
this.wood = wood;
|
||||
variantToBlock.put(wood, this);
|
||||
|
||||
this.setHardness(2.0F);
|
||||
this.setResistance(5.0F);
|
||||
this.setStepSound(soundTypeWood);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue