Skip to content

Commit

Permalink
Add warning on initial start up if there are configuration issues
Browse files Browse the repository at this point in the history
  • Loading branch information
LMBishop committed Mar 5, 2022
1 parent 67faa65 commit a156562
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -350,6 +350,10 @@ public void onEnable() {
+ (taskTypeManager.getSkipped() > 0 ? " (" + taskTypeManager.getSkipped() + " skipped due to exclusions or conflicting names)." : "."));

reloadQuests();
if (!this.getConfigProblems().isEmpty()) {
questsLogger.warning("You have configuration issues preventing some quests from loading.");
questsLogger.warning("You can view these issues with the command: /q a config.");
}

// Load players who were present during startup (i.e some idiot reloaded the server instead of restarted)
for (Player player : Bukkit.getOnlinePlayers()) {
Expand Down

0 comments on commit a156562

Please sign in to comment.