Allow covering waterlogged cables. Closes #2610
This commit is contained in:
parent
4a839ae74f
commit
3e1f1b394a
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ public class CableBlock extends BlockWithEntity implements Waterloggable {
|
|||
}
|
||||
}
|
||||
|
||||
if (!state.get(COVERED) && !state.get(WATERLOGGED) && !type.canKill
|
||||
if (!state.get(COVERED) && !type.canKill
|
||||
&& stack.getItem() == TRContent.Plates.WOOD.asItem()) {
|
||||
worldIn.setBlockState(pos, state.with(COVERED, true));
|
||||
worldIn.playSound(playerIn, pos, SoundEvents.BLOCK_WOOD_PLACE, SoundCategory.BLOCKS, 0.6F, 1.0F);
|
||||
|
|
Loading…
Add table
Reference in a new issue