Skip to content

Commit

Permalink
added console warning for invalid state
Browse files Browse the repository at this point in the history
  • Loading branch information
iTwins committed Oct 15, 2023
1 parent bd84084 commit df338ac
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,8 @@ private void onPluginStart() {
}
new RainbowArmorTask().schedule(this, config.getInt("options.rainbow-armor-update-interval") * 20L);
new SolarHelmetTask().schedule(this, config.getInt("options.armor-update-interval"));
} else if (config.getBoolean("options.enable-radiation")) {
logger.log(Level.WARNING, "Cannot enable radiation while armor effects are disabled.");
}

// Starting our tasks
Expand Down

0 comments on commit df338ac

Please sign in to comment.