mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
Make editing warps and homes utilise MineDown properly, Close #43
This commit is contained in:
1 parent
e1113efeac
commit
639712f997
4 files changed
+45
-123
No files matched your search
@@ -240,7 +240,11 @@ public final class HuskHomes extends JavaPlugin {
|
||||
String latestVersion = new BufferedReader(new InputStreamReader(urlConnection.getInputStream())).readLine();
|
||||
String pluginVersion = instance.getDescription().getVersion();
|
||||
if (!latestVersion.equals(pluginVersion)) {
|
||||
return "An update for HuskHomes is available; v" + latestVersion + " (Currently running v" + pluginVersion + ")";
|
||||
if (pluginVersion.contains("dev")) {
|
||||
return "You are running a development build of HuskHomes. The latest stable version is " + latestVersion + ".";
|
||||
} else {
|
||||
return "An update for HuskHomes is available; v" + latestVersion + " (Currently running v" + pluginVersion + ")";
|
||||
}
|
||||
} else {
|
||||
return "HuskHomes is up to date! (Version " + pluginVersion + ")";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user