Compare commits

..

No commits in common. "master" and "realweather-1.0.0-alpha-6" have entirely different histories.

2 changed files with 8 additions and 3 deletions

View file

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>eu.m724</groupId> <groupId>eu.m724</groupId>
<artifactId>realweather</artifactId> <artifactId>realweather</artifactId>
<version>1.0.0-alpha-8-SNAPSHOT</version> <version>1.0.0-alpha-6</version>
<properties> <properties>
<maven.compiler.source>21</maven.compiler.source> <maven.compiler.source>21</maven.compiler.source>
@ -150,6 +150,6 @@
<scm> <scm>
<developerConnection>scm:git:git@git.m724.eu:Minecon724/realweather.git</developerConnection> <developerConnection>scm:git:git@git.m724.eu:Minecon724/realweather.git</developerConnection>
<tag>HEAD</tag> <tag>realweather-1.0.0-alpha-6</tag>
</scm> </scm>
</project> </project>

View file

@ -68,7 +68,12 @@ public class RealWeatherPlugin extends MStatsPlugin {
} }
DebugLogger.logger = getLogger(); 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) { if (firstRun) {
DebugLogger.warning("This is your first time running this plugin."); DebugLogger.warning("This is your first time running this plugin.");