public static void pasteSchamtic(Schematic schematic, Location location) {
        World world = location.getWorld();

        for(int x = 0; x < schematic.getWidth(); x++) {
            for(int y = 0; y < schematic.getHeight(); y++) {
                for(int z = 0; z < schematic.getLength(); z++) {
                    int blockIndex = y * schematic.getWidth() * schematic.getLength() + z * schematic.getWidth() + x;
                    Block block = new Location(location.getWorld(), location.getBlockX() + x, location.getBlockY() + y, location.getBlockZ() + z).getBlock();
                    block.setTypeIdAndData(schematic.getBlocks()[blockIndex], schematic.getData()[blockIndex], true);
                }
            }
        }
    }