Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 04:20:04 +01:00
Update branch for github version checking
Dieser Commit ist enthalten in:
Ursprung
b380338244
Commit
cce3635569
@ -117,7 +117,7 @@ index 760d58eb..044361af 100644
|
||||
+ }
|
||||
+
|
||||
+ // Contributed by Techcable <Techcable@outlook.com> in GH PR #65
|
||||
+ private static final String BRANCH = "master";
|
||||
+ private static final String BRANCH = "ver/1.12.2";
|
||||
+ private static int getFromRepo(String repo, String hash) {
|
||||
+ try {
|
||||
+ HttpURLConnection connection = (HttpURLConnection) new URL("https://api.github.com/repos/" + repo + "/compare/" + BRANCH + "..." + hash).openConnection();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren