From fe2a39e4f13aadcd98f08f6394403d066f687e6d Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 21 Jun 2019 20:00:00 +1000 Subject: [PATCH] Minecraft 1.14.3-pre4 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 e5ecdee59..af1328d81 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 @@ -23,6 +23,7 @@ public class ProtocolConstants 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 int MINECRAFT_1_14_3 = 489; public static final List SUPPORTED_VERSIONS = Arrays.asList( "1.8.x", "1.9.x", @@ -49,7 +50,8 @@ public class ProtocolConstants ProtocolConstants.MINECRAFT_1_13_2, ProtocolConstants.MINECRAFT_1_14, ProtocolConstants.MINECRAFT_1_14_1, - ProtocolConstants.MINECRAFT_1_14_2 + ProtocolConstants.MINECRAFT_1_14_2, + ProtocolConstants.MINECRAFT_1_14_3 ); 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 43c58d0bd..eb42bd123 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 @@ -54,6 +54,7 @@ public abstract class EntityMap case ProtocolConstants.MINECRAFT_1_14: case ProtocolConstants.MINECRAFT_1_14_1: case ProtocolConstants.MINECRAFT_1_14_2: + case ProtocolConstants.MINECRAFT_1_14_3: return EntityMap_1_14.INSTANCE; } throw new RuntimeException( "Version " + version + " has no entity map" );