mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Add support of 1.14.1/2 with ViaVersion extension.
This commit is contained in:
parent
01c5c5dc65
commit
dd5d8af946
@ -36,11 +36,9 @@ public class Protocol {
|
|||||||
*/
|
*/
|
||||||
public static String getMCVersion(int protocolVersion) {
|
public static String getMCVersion(int protocolVersion) {
|
||||||
switch (protocolVersion) {
|
switch (protocolVersion) {
|
||||||
case 482:
|
case 485:
|
||||||
case 481:
|
return "1.14.2";
|
||||||
case 480:
|
case 480:
|
||||||
case 479:
|
|
||||||
case 478:
|
|
||||||
return "1.14.1";
|
return "1.14.1";
|
||||||
case 477:
|
case 477:
|
||||||
return "1.14";
|
return "1.14";
|
||||||
@ -75,7 +73,7 @@ public class Protocol {
|
|||||||
case 4:
|
case 4:
|
||||||
return "1.7.5";
|
return "1.7.5";
|
||||||
default:
|
default:
|
||||||
return "Newer than 1.14 (" + protocolVersion + ")";
|
return "Newer than 1.14.2 (" + protocolVersion + ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user