mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-15 05:41:51 +08:00
Update PluginBridge viaversion/protocolsupport version protocol
This commit is contained in:
parent
d81a2932ec
commit
517167f4fd
@ -47,7 +47,7 @@ subprojects {
|
||||
ext.daggerCompilerVersion = "2.22.1"
|
||||
|
||||
ext.abstractPluginFrameworkVersion = "3.4.1"
|
||||
ext.planPluginBridgeVersion = "4.8.2-R0.2"
|
||||
ext.planPluginBridgeVersion = "4.8.2-R0.3"
|
||||
|
||||
ext.bukkitVersion = "1.12.2-R0.1-SNAPSHOT"
|
||||
ext.spigotVersion = "1.12.2-R0.1-SNAPSHOT"
|
||||
|
@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.djrapitops</groupId>
|
||||
<artifactId>PlanPluginBridge</artifactId>
|
||||
<version>4.8.2-R0.2</version>
|
||||
<version>4.8.2-R0.3</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>${project.groupId}:${project.artifactId}</name>
|
||||
|
@ -36,8 +36,14 @@ public class Protocol {
|
||||
*/
|
||||
public static String getMCVersion(int protocolVersion) {
|
||||
switch (protocolVersion) {
|
||||
case 482:
|
||||
case 481:
|
||||
case 480:
|
||||
case 479:
|
||||
case 478:
|
||||
return "1.14.1";
|
||||
case 477:
|
||||
return "1.14"
|
||||
return "1.14";
|
||||
case 404:
|
||||
return "1.13.2";
|
||||
case 401:
|
||||
|
Loading…
Reference in New Issue
Block a user