Check if isLogReportToConsolet to show report

This commit is contained in:
Alberto 2021-01-25 04:01:19 +01:00 committed by GitHub
parent 8d47eb222a
commit 6163f596a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public class IslandLevelCommand extends CompositeCommand {
.filter(u -> !u.equals(user.getUniqueId()))
.forEach(m -> User.getInstance(m).sendMessage(ISLAND_LEVEL_IS, LEVEL, addon.getManager().getIslandLevelString(getWorld(), playerUUID)));
}
} else {
} else if (this.addon.getSettings().isLogReportToConsole()) {
results.getReport().forEach(BentoBox.getInstance()::log);
}