1.14.2 support
This commit is contained in:
@@ -28,8 +28,9 @@ public enum ProtocolVersion {
|
||||
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_1(480, "1.14.1");
|
||||
|
||||
MINECRAFT_1_14_1(480, "1.14.1"),
|
||||
MINECRAFT_1_14_2(485, "1.14.2");
|
||||
|
||||
private final int protocol;
|
||||
private final String name;
|
||||
|
||||
@@ -40,7 +41,7 @@ public enum ProtocolVersion {
|
||||
/**
|
||||
* Represents the highest supported version.
|
||||
*/
|
||||
public static final ProtocolVersion MAXIMUM_VERSION = MINECRAFT_1_14_1;
|
||||
public static final ProtocolVersion MAXIMUM_VERSION = values()[values().length - 1];
|
||||
|
||||
/**
|
||||
* The user-friendly representation of the lowest and highest supported versions.
|
||||
|
Reference in New Issue
Block a user