From 3ec223ec94d02b1578be251cedc600689e43035f Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 14 May 2019 10:00:00 +1000 Subject: [PATCH] Minecraft 1.14.1 support --- .../main/java/net/md_5/bungee/protocol/ProtocolConstants.java | 4 +++- proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap.java | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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 e03c40ee6..67e212e22 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 @@ -21,6 +21,7 @@ public class ProtocolConstants public static final int MINECRAFT_1_13_1 = 401; 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 List SUPPORTED_VERSIONS = Arrays.asList( "1.8.x", "1.9.x", @@ -45,7 +46,8 @@ public class ProtocolConstants ProtocolConstants.MINECRAFT_1_13, ProtocolConstants.MINECRAFT_1_13_1, ProtocolConstants.MINECRAFT_1_13_2, - ProtocolConstants.MINECRAFT_1_14 + ProtocolConstants.MINECRAFT_1_14, + ProtocolConstants.MINECRAFT_1_14_1 ); 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 398cd6dde..1eb539a80 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 @@ -52,6 +52,7 @@ public abstract class EntityMap case ProtocolConstants.MINECRAFT_1_13_2: return EntityMap_1_13.INSTANCE; case ProtocolConstants.MINECRAFT_1_14: + case ProtocolConstants.MINECRAFT_1_14_1: return EntityMap_1_14.INSTANCE; } throw new RuntimeException( "Version " + version + " has no entity map" );