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 6ac90f1 commit 032aae5Copy full SHA for 032aae5
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+)?(-SNAPSHOT)?",
+ private static final Pattern ALLOWED_VERSIONS = Pattern.compile("latest|\\d+\\.\\d+(\\.\\d+)?(-SNAPSHOT|-pre\\d+)?",
65
Pattern.CASE_INSENSITIVE
66
);
67
0 commit comments