Disabled updating to the same commit

This commit is contained in:
coolGi
2023-10-05 13:12:35 +10:30
parent f45a4b8d62
commit 18ed2e7eee
@@ -150,8 +150,8 @@ public class SelfUpdater
String latestCommit = pipeline.get("sha");
//if (ModGitInfo.Git_Main_Commit.equals(latestCommit)) // If we are already on the latest commit, then dont update
// return false;
if (ModGitInfo.Git_Main_Commit.equals(latestCommit)) // If we are already on the latest commit, then dont update
return false;
LOGGER.info("New version (" + latestCommit + ") of " + ModInfo.READABLE_NAME + " is available");