#3159: Account for the (broken) configuration when ip forward is enabled on bungee but not the server

This commit is contained in:
md_5 2021-11-23 15:27:31 +11:00
parent 1ace5c0c8b
commit 21b23624ad
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -148,11 +148,8 @@ 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.displayName = name;