Support 1.14-pre2

This commit is contained in:
Andrew Steinborn
2019-05-10 02:51:00 -04:00
parent 2bba87e8da
commit 37999ed32e
2 changed files with 5 additions and 3 deletions

View File

@@ -27,7 +27,8 @@ public enum ProtocolVersion {
MINECRAFT_1_13(393, "1.13"),
MINECRAFT_1_13_1(401, "1.13.1"),
MINECRAFT_1_13_2(404, "1.13.2"),
MINECRAFT_1_14(477, "1.14");
MINECRAFT_1_14(477, "1.14"),
MINECRAFT_1_14_1(479, "1.14.1-pre2");
private final int protocol;
private final String name;
@@ -39,7 +40,7 @@ public enum ProtocolVersion {
/**
* Represents the highest supported version.
*/
public static final ProtocolVersion MAXIMUM_VERSION = MINECRAFT_1_14;
public static final ProtocolVersion MAXIMUM_VERSION = MINECRAFT_1_14_1;
/**
* The user-friendly representation of the lowest and highest supported versions.