#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

@ -149,10 +149,7 @@ public final class UserConnection implements ProxiedPlayer
public void init() 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; this.displayName = name;