Update branch so version fetcher works properly

This commit is contained in:
Ivan Pekov 2020-11-09 17:53:54 +02:00
parent 608fe60aac
commit 0874b8bdeb
No known key found for this signature in database
GPG Key ID: BC975C392D9CA3A3

View File

@ -53,7 +53,7 @@ index 12922030c7ab0267018158d3fccb0eeedc370b7c..c6ad1dd8cabdad0b8ca54eecb82f4570
public CrashReport b(CrashReport crashreport) {
diff --git a/src/main/java/net/yatopia/server/YatopiaVersionFetcher.java b/src/main/java/net/yatopia/server/YatopiaVersionFetcher.java
new file mode 100644
index 0000000000000000000000000000000000000000..fdfd1af1309df4a400b47768708bec7abeed8b20
index 0000000000000000000000000000000000000000..7b66968313a1eb38637989bfe853ee68b7d434d0
--- /dev/null
+++ b/src/main/java/net/yatopia/server/YatopiaVersionFetcher.java
@@ -0,0 +1,96 @@
@ -76,7 +76,7 @@ index 0000000000000000000000000000000000000000..fdfd1af1309df4a400b47768708bec7a
+
+public class YatopiaVersionFetcher implements VersionFetcher {
+
+ private static final String GITHUB_BRANCH_NAME = "ver/1.16.3";
+ private static final String GITHUB_BRANCH_NAME = "ver/1.16.4";
+
+ @Override
+ public long getCacheTime() {