fix: SendOnlogin configuration was using the auth servers instead of the Lobby servers

This commit is contained in:
Adrian 2023-01-11 22:43:44 -05:00
parent 5bc0d3560e
commit 67a426456b

View File

@ -107,7 +107,7 @@ public class PluginMessageListener {
var config = plugin.config().get();
var toSend = AuthmeUtils.serverToSend(
config.sendOnLogin().sendMode(), proxy, config.authServers(), config.advanced().randomAttempts());
config.sendOnLogin().sendMode(), proxy, config.sendOnLogin().teleportServers(), config.advanced().randomAttempts());
if (toSend.isEmpty()) {
if (toSend.string() != null) {