diff --git a/pom.xml b/pom.xml index b5453ff..9c39476 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 eu.m724 realweather - 1.0.0-alpha-8-SNAPSHOT + 1.0.0-alpha-6 21 @@ -150,6 +150,6 @@ scm:git:git@git.m724.eu:Minecon724/realweather.git - HEAD + realweather-1.0.0-alpha-6 diff --git a/src/main/java/eu/m724/realweather/RealWeatherPlugin.java b/src/main/java/eu/m724/realweather/RealWeatherPlugin.java index 9f204df..fd63d9c 100644 --- a/src/main/java/eu/m724/realweather/RealWeatherPlugin.java +++ b/src/main/java/eu/m724/realweather/RealWeatherPlugin.java @@ -68,7 +68,12 @@ public class RealWeatherPlugin extends MStatsPlugin { } DebugLogger.logger = getLogger(); - getLogger().setLevel(configuration.getBoolean("debug") ? Level.FINEST : Level.INFO); + + if (configuration.getBoolean("debug")) { + getLogger().setLevel(Level.FINEST); + DebugLogger.warning("Debug harms performance"); + } + if (firstRun) { DebugLogger.warning("This is your first time running this plugin.");