[Merge] Add support of 1.14.1/2 with ViaVersion extension (#1061)

This commit is contained in:
Risto Lahtela 2019-06-01 20:21:55 +03:00 committed by GitHub
commit 8f69adcb66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -36,11 +36,9 @@ public class Protocol {
*/
public static String getMCVersion(int protocolVersion) {
switch (protocolVersion) {
case 482:
case 481:
case 485:
return "1.14.2";
case 480:
case 479:
case 478:
return "1.14.1";
case 477:
return "1.14";
@ -75,7 +73,7 @@ public class Protocol {
case 4:
return "1.7.5";
default:
return "Newer than 1.14 (" + protocolVersion + ")";
return "Newer than 1.14.2 (" + protocolVersion + ")";
}
}
}

View File

@ -1,3 +1,4 @@
REL|4.8.5|https://github.com/plan-player-analytics/Plan/releases/download/4.8.5/Plan-4.8.5.jar|https://github.com/plan-player-analytics/Plan/releases/tag/4.8.5
REL|4.8.3|https://github.com/plan-player-analytics/Plan/releases/download/4.8.3/Plan-4.8.3.jar|https://github.com/plan-player-analytics/Plan/releases/tag/4.8.3
REL|4.8.2|https://github.com/plan-player-analytics/Plan/releases/download/4.8.2/Plan-4.8.2.jar|https://github.com/plan-player-analytics/Plan/releases/tag/4.8.2
DEV|4.8.1-b5|https://github.com/plan-player-analytics/Plan/releases/download/4.8.2-DEV5/Plan-4.8.1-b5.jar|https://github.com/plan-player-analytics/Plan/releases/tag/4.8.2-DEV5