Compare commits

..

No commits in common. "ba0f8697fd48aa82c56477d547c3b919a1abe13d" and "39148ee7f17ac8ec3eaee182fbea2d85ad90e87f" have entirely different histories.

2 changed files with 4 additions and 6 deletions

View file

@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>eu.m724</groupId>
<artifactId>realweather</artifactId>
<version>0.9.5</version>
<version>0.9.5-SNAPSHOT</version>
<properties>
<maven.compiler.source>21</maven.compiler.source>
@ -14,7 +14,7 @@
<scm>
<developerConnection>scm:git:git@git.724.rocks:Minecon724/realweather.git</developerConnection>
<tag>realweather-0.9.5</tag>
<tag>HEAD</tag>
</scm>
<distributionManagement>

View file

@ -35,7 +35,6 @@ public class UpdateNotifier extends BukkitRunnable implements Listener { // TODO
@Override
public void run() {
DebugLogger.info("update task running", 2);
try {
latestVersion = updater.getLatestVersion().join();
@ -43,12 +42,11 @@ public class UpdateNotifier extends BukkitRunnable implements Listener { // TODO
Throwable ex = e.getCause();
if (ex instanceof IOException)
DebugLogger.info("error trying to contact update server: %s", 0, ex.getMessage());
DebugLogger.info("error trying to contact update server: %d", 0, ex.getMessage());
else e.printStackTrace();
}
if (latestVersion == null) return;
DebugLogger.info("RealWeather is outdated. /rwadmin update", 0);
for (Player player : plugin.getServer().getOnlinePlayers()) {
if (player.hasPermission("realweather.update.notify")) {