Skip to content

Commit

Permalink
Merge pull request #63 from Andre601/feature/1.17-support
Browse files Browse the repository at this point in the history
MC 1.17 support
  • Loading branch information
Andre601 authored Jun 11, 2021
2 parents e3fae73 + 2aa6021 commit 1c81dd5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bungeecord/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-api</artifactId>
<version>1.16-R0.5-SNAPSHOT</version>
<version>1.17-R0.1-SNAPSHOT</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,42 @@
import java.util.stream.Collectors;

public enum ProtocolVersion{
MC_1_17 (755, "1.17", "1.17.x"),

MC_1_16_5(754, "1.16.5", "1.16.x"),
MC_1_16_3(753, "1.16.3", "1.16.x"),
MC_1_16_2(751, "1.16.2", "1.16.x"),
MC_1_16_1(736, "1.16.1", "1.16.x"),
MC_1_16 (735, "1.16", "1.16.x"),

MC_1_15_2(578, "1.15.2", "1.15.x"),
MC_1_15_1(575, "1.15.1", "1.15.x"),
MC_1_15 (573, "1.15", "1.15.x"),

MC_1_14_4(498, "1.14.4", "1.14.x"),
MC_1_14_3(490, "1.14.3", "1.14.x"),
MC_1_14_2(485, "1.14.2", "1.14.x"),
MC_1_14_1(480, "1.14.1", "1.14.x"),
MC_1_14 (477, "1.14", "1.14.x"),

MC_1_13_2(404, "1.13.2", "1.13.x"),
MC_1_13_1(401, "1.13.1", "1.13.x"),
MC_1_13 (393, "1.13", "1.13.x"),

MC_1_12_2(340, "1.12.2", "1.12.x"),
MC_1_12_1(338, "1.12.1", "1.12.x"),
MC_1_12 (335, "1.12", "1.12.x"),

MC_1_11_2(316, "1.11.2", "1.11.x"),
MC_1_11 (315, "1.11", "1.11.x"),

MC_1_10_2(210, "1.10.2", "1.10.2"),

MC_1_9_4 (110, "1.9.4", "1.9.x"),
MC_1_9_2 (109, "1.9.2", "1.9.x"),
MC_1_9_1 (108, "1.9.1", "1.9.x"),
MC_1_9 (107, "1.9", "1.9.x"),

MC_1_8_9 (47, "1.8.9", "1.8.9"),

// In case none of the above versions match
Expand Down
2 changes: 1 addition & 1 deletion velocity/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<dependency>
<groupId>com.velocitypowered</groupId>
<artifactId>velocity-api</artifactId>
<version>1.1.8</version>
<version>3.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 1c81dd5

Please sign in to comment.