[ci skip] Update download urls (#9100)
This commit is contained in:
parent
497b91939c
commit
e6ef1bae88
7 changed files with 11 additions and 11 deletions
|
@ -6,7 +6,7 @@ Subject: [PATCH] Implement Paper VersionChecker
|
|||
|
||||
diff --git a/src/main/java/com/destroystokyo/paper/PaperVersionFetcher.java b/src/main/java/com/destroystokyo/paper/PaperVersionFetcher.java
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..351159bbdb0c8045f4983f54dee34430dbcc423e
|
||||
index 0000000000000000000000000000000000000000..22a55be34fde453fedd987173d95b8b347a03588
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/com/destroystokyo/paper/PaperVersionFetcher.java
|
||||
@@ -0,0 +1,129 @@
|
||||
|
@ -30,7 +30,7 @@ index 0000000000000000000000000000000000000000..351159bbdb0c8045f4983f54dee34430
|
|||
+public class PaperVersionFetcher implements VersionFetcher {
|
||||
+ private static final java.util.regex.Pattern VER_PATTERN = java.util.regex.Pattern.compile("^([0-9\\.]*)\\-.*R"); // R is an anchor, will always give '-R' at end
|
||||
+ private static final String GITHUB_BRANCH_NAME = "master";
|
||||
+ private static final String DOWNLOAD_PAGE = "https://papermc.io/downloads";
|
||||
+ private static final String DOWNLOAD_PAGE = "https://papermc.io/downloads/paper";
|
||||
+ private static @Nullable String mcVer;
|
||||
+
|
||||
+ @Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue