mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-03 01:10:17 +01:00
[Merge] Add support of 1.14 with ViaVersion extension. (#1031)
This commit is contained in:
commit
799c26ba99
@ -36,6 +36,8 @@ public class Protocol {
|
||||
*/
|
||||
public static String getMCVersion(int protocolVersion) {
|
||||
switch (protocolVersion) {
|
||||
case 477:
|
||||
return "1.14"
|
||||
case 404:
|
||||
return "1.13.2";
|
||||
case 401:
|
||||
@ -67,7 +69,7 @@ public class Protocol {
|
||||
case 4:
|
||||
return "1.7.5";
|
||||
default:
|
||||
return "Newer than 1.13.2 (" + protocolVersion + ")";
|
||||
return "Newer than 1.14 (" + protocolVersion + ")";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user