Skip to content

Commit

Permalink
chore: change log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
CorneliusMa committed Aug 10, 2024
1 parent 0cb8b91 commit dd53874
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public boolean load() {
throw new RuntimeException(e);
}

plugin.getLog().info("Loaded support for version " + MinecraftVersion.getVersion() + " (Bukkit " + bukkitVersion + ")");
plugin.getLog().info("Loaded support for version " + MinecraftVersion.getVersion());
return true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private void run(int interval) {
if (!update()) plugin.getLog().error("Error getting latest version");
else if (!check())
plugin.getLog().warn("§eUpdate available! Download at https://www.spigotmc.org/resources/silkspawners.60063/ §f\nInstalled version: v" + getInstalledVersion() + "\nLatest version: v" + latestVersion);
else plugin.getLog().info("The plugin is up to date (v" + latestVersion + ")");
else plugin.getLog().info("The plugin is up to date (Current release v" + latestVersion + ")");
TimeUnit.HOURS.sleep(interval);
}
} catch (InterruptedException ignored) {
Expand Down

0 comments on commit dd53874

Please sign in to comment.