diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java index 67e212e22..e5ecdee59 100644 --- a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java @@ -22,6 +22,7 @@ public class ProtocolConstants public static final int MINECRAFT_1_13_2 = 404; public static final int MINECRAFT_1_14 = 477; public static final int MINECRAFT_1_14_1 = 480; + public static final int MINECRAFT_1_14_2 = 485; public static final List SUPPORTED_VERSIONS = Arrays.asList( "1.8.x", "1.9.x", @@ -47,7 +48,8 @@ public class ProtocolConstants ProtocolConstants.MINECRAFT_1_13_1, ProtocolConstants.MINECRAFT_1_13_2, ProtocolConstants.MINECRAFT_1_14, - ProtocolConstants.MINECRAFT_1_14_1 + ProtocolConstants.MINECRAFT_1_14_1, + ProtocolConstants.MINECRAFT_1_14_2 ); public enum Direction diff --git a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap.java b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap.java index 1eb539a80..43c58d0bd 100644 --- a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap.java +++ b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap.java @@ -53,6 +53,7 @@ public abstract class EntityMap return EntityMap_1_13.INSTANCE; case ProtocolConstants.MINECRAFT_1_14: case ProtocolConstants.MINECRAFT_1_14_1: + case ProtocolConstants.MINECRAFT_1_14_2: return EntityMap_1_14.INSTANCE; } throw new RuntimeException( "Version " + version + " has no entity map" );