#3159: Account for the (broken) configuration when ip forward is enabled on bungee but not the server
This commit is contained in:
parent
1ace5c0c8b
commit
21b23624ad
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user