Fix auto register type in BungeeCord not being sent

This commit is contained in:
games647
2018-04-07 16:14:46 +02:00
parent 791df26702
commit 2a79a9511b

View File

@ -54,7 +54,6 @@ public class ForceLoginTask
@Override
public boolean forceRegister(ProxiedPlayer player) {
return session.isAlreadyLogged() || super.forceRegister(player);
}
@Override
@ -62,7 +61,7 @@ public class ForceLoginTask
//sub channel name
Type type = Type.LOGIN;
if (session.needsRegistration()) {
type = Type.LOGIN;
type = Type.REGISTER;
}
UUID proxyId = UUID.fromString(ProxyServer.getInstance().getConfig().getUuid());