From 5c6bc183fd1a529d398d52f6a6df4f29940710db Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 20 Jul 2019 09:00:00 +1000 Subject: [PATCH] Minecraft 1.14.4 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 7612be79..5d0a3f65 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 @@ -24,6 +24,7 @@ public class ProtocolConstants public static final int MINECRAFT_1_14_1 = 480; public static final int MINECRAFT_1_14_2 = 485; public static final int MINECRAFT_1_14_3 = 490; + public static final int MINECRAFT_1_14_4 = 498; public static final List SUPPORTED_VERSIONS = Arrays.asList( "1.8.x", "1.9.x", @@ -51,7 +52,8 @@ public class ProtocolConstants ProtocolConstants.MINECRAFT_1_14, ProtocolConstants.MINECRAFT_1_14_1, ProtocolConstants.MINECRAFT_1_14_2, - ProtocolConstants.MINECRAFT_1_14_3 + ProtocolConstants.MINECRAFT_1_14_3, + ProtocolConstants.MINECRAFT_1_14_4 ); 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 eb42bd12..3b469ab9 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 @@ -55,6 +55,7 @@ public abstract class EntityMap case ProtocolConstants.MINECRAFT_1_14_1: case ProtocolConstants.MINECRAFT_1_14_2: case ProtocolConstants.MINECRAFT_1_14_3: + case ProtocolConstants.MINECRAFT_1_14_4: return EntityMap_1_14.INSTANCE; } throw new RuntimeException( "Version " + version + " has no entity map" );