We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15206e9 commit 7eb2899Copy full SHA for 7eb2899
src/main/java/me/itzg/helpers/paper/InstallPaperCommand.java
@@ -61,7 +61,7 @@ static class Coordinates {
61
@Option(names = "--project", defaultValue = "paper")
62
String project;
63
64
- private static final Pattern ALLOWED_VERSIONS = Pattern.compile("latest|\\d+\\.\\d+(\\.\\d+)?",
+ private static final Pattern ALLOWED_VERSIONS = Pattern.compile("latest|\\d+\\.\\d+(\\.\\d+)?(-SNAPSHOT)?",
65
Pattern.CASE_INSENSITIVE
66
);
67
@@ -71,8 +71,7 @@ public void setVersion(String version) {
71
if (!m.matches()) {
72
throw new ParameterException(spec.commandLine(), "Invalid value for minecraft version: " + version);
73
}
74
- this.version = version.toLowerCase();
75
-
+ this.version = version;
76
77
78
String version;
0 commit comments