From 21b23624ad04b0fe6d31e2874a925d07802e7c04 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 23 Nov 2021 15:27:31 +1100 Subject: [PATCH] #3159: Account for the (broken) configuration when ip forward is enabled on bungee but not the server --- proxy/src/main/java/net/md_5/bungee/UserConnection.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java index 5713c127..bf25658b 100644 --- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java @@ -149,10 +149,7 @@ public final class UserConnection implements ProxiedPlayer public void init() { - if ( getPendingConnection().getVersion() < ProtocolConstants.MINECRAFT_1_16_2 || !bungee.getConfig().isIpForward() ) - { - this.entityRewrite = EntityMap.getEntityMap( getPendingConnection().getVersion() ); - } + this.entityRewrite = EntityMap.getEntityMap( getPendingConnection().getVersion() ); this.displayName = name;