logReportToConsole added to ConfigSetting

This commit is contained in:
Alberto 2021-01-25 03:59:22 +01:00 committed by GitHub
parent c554d39015
commit 8d47eb222a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -19,6 +19,11 @@ public class ConfigSettings implements ConfigObject {
@ConfigEntry(path = "disabled-game-modes")
private List<String> gameModes = Collections.emptyList();
@ConfigComment("")
@ConfigComment("When executing level command from console, should a report be shown?")
@ConfigEntry(path = "log-report-to-console")
private boolean logReportToConsole = true;
@ConfigComment("")
@ConfigComment("Number of concurrent island calculations")
@ConfigComment("If your CPU can handle it, you can run parallel island calcs if there are more than one in the queue")
@ -363,5 +368,13 @@ public class ConfigSettings implements ConfigObject {
public void setCalculationTimeout(int calculationTimeout) {
this.calculationTimeout = calculationTimeout;
}
/**
* @return logReportToConsole
*/
public boolean isLogReportToConsole() {
return isLogReportToConsole;
}
}