Minor versioning changes

This commit is contained in:
Kenzie Togami
2019-05-05 01:37:11 -07:00
committed by NotMyFault
parent 55b02e1b1f
commit 8d68da09a3
3 changed files with 19 additions and 34 deletions

View File

@ -30,9 +30,12 @@ public class FaweVersion {
}
}
@Override
public String toString() {
return "FastAsyncWorldEdit-" + year + "." + month + "." + day + "-" + Integer.toHexString(hash) + "-" + build;
@Override public String toString() {
if (hash == 0 && build == 0) {
return "FastAsyncWorldEdit-1.13-NoVer-SNAPSHOT";
} else {
return "FastAsyncWorldEdit-1.13" + build;
}
}
public boolean isNewer(FaweVersion other) {