TimingReporter.saveToFile(TimingReporter.getReport());
Timings.clear();
Skript.adminBroadcast(Language.get("timings.stop message"));
}
} else if (args[0].equalsIgnoreCase("gen-docs")) {
<BUG>File templateDir = new File(Skript.getInstance().getDataFolder() + "/doc-templates");
</BUG>
if (!templateDir.exists()) {
Skript.info(sender, "Documentation templates not found. Cannot generate docs!");
return true;

TimingReporter.saveToFile(TimingReporter.getReport());
Timings.clear();
Skript.adminBroadcast(Language.get("timings.stop message"));
}
} else if (args[0].equalsIgnoreCase("gen-docs")) {
File templateDir = new File(Skript.getInstance().getDataFolder() + "/doc-templates/");
if (!templateDir.exists()) {
Skript.info(sender, "Documentation templates not found. Cannot generate docs!");
return true;
