Skip to content

Commit 9817312

Browse files
committed
added snapshot flag
1 parent ce991fc commit 9817312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

luckprefix-common/src/main/java/de/eztxm/luckprefix/common/util/UpdateChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public boolean isLatestVersion(boolean development) {
3333
this.debugLog.debug("Checking if version is latest - development mode: " + development);
3434
this.fetchManifest();
3535
this.fetchLatestVersion();
36-
if (this.isForceUpdate()) {
36+
if (this.isForceUpdate() || this.updateChannel.equalsIgnoreCase("snapshot")) {
3737
this.debugLog.debug("Force update detected, returning false");
3838
return false;
3939
}

0 commit comments

Comments
 (0)