Fix warning
Some checks failed
/ deploy (push) Has been cancelled

This commit is contained in:
Minecon724 2025-05-26 19:39:37 +02:00
commit 0a4798656f
Signed by: Minecon724
GPG key ID: A02E6E67AB961189

View file

@ -68,12 +68,7 @@ public class RealWeatherPlugin extends MStatsPlugin {
}
DebugLogger.logger = getLogger();
if (configuration.getBoolean("debug")) {
getLogger().setLevel(Level.FINEST);
DebugLogger.warning("Debug harms performance");
}
getLogger().setLevel(configuration.getBoolean("debug") ? Level.FINEST : Level.INFO);
if (firstRun) {
DebugLogger.warning("This is your first time running this plugin.");