Fixed Window placement dupe (#170).
This commit is contained in:
parent
3a10a87ac0
commit
4f07f82e01
4 changed files with 7 additions and 3 deletions
|
@ -69,6 +69,7 @@ public class EdWindowBlock extends DecorBlock.DirectedWaterLoggable implements I
|
|||
.with(WATERLOGGED,world.getBlockState(pos.offset(d)).getFluidState().getFluid()==Fluids.WATER);
|
||||
world.setBlockState(pos.offset(d), st, 1|2);
|
||||
world.playSound(player, pos, SoundEvents.BLOCK_METAL_PLACE, SoundCategory.BLOCKS, 1f, 1f);
|
||||
player.getHeldItem(hand).shrink(1);
|
||||
}
|
||||
);
|
||||
return ActionResultType.func_233537_a_(world.isRemote());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue