this didn't work, guess I'll have to accept wonky placement logic

This commit is contained in:
Ellpeck 2020-04-18 00:20:21 +02:00
parent c64c4b3a58
commit 648d860910

View file

@ -89,14 +89,6 @@ public class PipeBlock extends ContainerBlock {
}
}
@Override
public BlockState updatePostPlacement(BlockState stateIn, Direction facing, BlockState facingState, IWorld worldIn, BlockPos currentPos, BlockPos facingPos) {
ConnectionType type = getConnectionType((World) worldIn, currentPos, facing, stateIn);
if (type != stateIn.get(DIRECTIONS.get(facing)))
stateIn = stateIn.with(DIRECTIONS.get(facing), type);
return stateIn;
}
@Nullable
@Override
public BlockState getStateForPlacement(BlockItemUseContext context) {