146147148149150151152153154155156
ReportWriter report = new ReportWriter(CraftBookPlugin.inst()); if(args.hasFlag('i')) report.appendFlags("i"); report.generate(); try { report.write(dest); sender.sendMessage(ChatColor.YELLOW + "CraftBook report written to " + dest.getAbsolutePath());