diff --git a/bukkit/src/main/java/io/wdsj/asw/bukkit/update/Updater.java b/bukkit/src/main/java/io/wdsj/asw/bukkit/update/Updater.java index 2905568..dd85f6e 100644 --- a/bukkit/src/main/java/io/wdsj/asw/bukkit/update/Updater.java +++ b/bukkit/src/main/java/io/wdsj/asw/bukkit/update/Updater.java @@ -66,7 +66,7 @@ protected boolean isDevUpdateAvailable() { InputStreamReader reader = new InputStreamReader(connection.getInputStream()); JsonObject jsonObject = new JsonParser().parse(reader).getAsJsonObject(); String latestHash = jsonObject.get("sha").getAsString(); - latestVersion = latestHash.substring(0, 6); + latestVersion = latestHash.substring(0, 7); currentVersion = PluginVersionTemplate.COMMIT_HASH_SHORT; isUpdateAvailable = !PluginVersionTemplate.COMMIT_HASH.equals(latestHash); return isUpdateAvailable;