private boolean checkDoorSeal(World world, BlockPosition pos, int meta)
    {
        Block otherBlock = world.getBlock(pos.x, pos.y, pos.z);
        int otherMeta = world.getBlockMetadata(pos.x, pos.y, pos.z);
        return (otherBlock == AdvancedRocketryBlocks.blockAirLock && (otherMeta & 1) == (meta & 1)) ||
                (otherBlock != AdvancedRocketryBlocks.blockAirLock && isBlockSealed(world, pos));
    }
private boolean checkDoorSeal(World world, BlockPosition pos, int meta)
    {
        Block otherBlock = world.getBlock(pos.x, pos.y, pos.z);
        int otherMeta = world.getBlockMetadata(pos.x, pos.y, pos.z);
        return (otherBlock == AdvancedRocketryBlocks.blockAirLock && (otherMeta & 1) == (meta & 1)) ||
                (otherBlock != AdvancedRocketryBlocks.blockAirLock && isBlockSealed(world, pos));
    }
private boolean checkdoorseal(world world, blockposition pos, int meta) { block otherblock = world.getblock(pos.x, pos.y, pos.z); int othermeta = world.getblockmetadata(pos.x, pos.y, pos.z); return (otherblock == advancedrocketryblocks.blockairlock && (othermeta & 1) == (meta & 1)) || (otherblock != advancedrocketryblocks.blockairlock && isblocksealed(world, pos)); }