Bump PluginBridge to R0.4

- Updates Protocol numbers for ViaVersion and ProtocolSupport
This commit is contained in:
Rsl1122 2019-06-22 09:35:08 +03:00
parent f9f899cb7d
commit ec1ace0419
3 changed files with 7 additions and 2 deletions

View File

@ -47,7 +47,7 @@ subprojects {
ext.daggerCompilerVersion = "2.23.2"
ext.abstractPluginFrameworkVersion = "3.4.1"
ext.planPluginBridgeVersion = "4.8.2-R0.3"
ext.planPluginBridgeVersion = "4.8.2-R0.4"
ext.bukkitVersion = "1.12.2-R0.1-SNAPSHOT"
ext.spigotVersion = "1.12.2-R0.1-SNAPSHOT"

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.djrapitops</groupId>
<artifactId>PlanPluginBridge</artifactId>
<version>4.8.2-R0.3</version>
<version>4.8.2-R0.4</version>
<packaging>jar</packaging>
<name>${project.groupId}:${project.artifactId}</name>

View File

@ -36,6 +36,11 @@ public class Protocol {
*/
public static String getMCVersion(int protocolVersion) {
switch (protocolVersion) {
case 492:
case 491:
case 490:
case 489:
return "1.14.3";
case 485:
return "1.14.2";
case 480: