Fix connectPlayerOnLogin

#1412
This commit is contained in:
Gabriele C 2017-11-15 18:07:55 +01:00
parent c110d27298
commit 2f019dbb0e

View File

@ -64,7 +64,7 @@ public class BungeeSender implements SettingsDependent {
public void connectPlayerOnLogin(Player player) {
if (isEnabled && !destinationServerOnLogin.isEmpty()) {
bukkitService.scheduleSyncDelayedTask(() ->
sendBungeecordMessage("Connect", player.getName(), destinationServerOnLogin), 20L);
sendBungeecordMessage("ConnectOther", player.getName(), destinationServerOnLogin), 20L);
}
}
@ -79,4 +79,5 @@ public class BungeeSender implements SettingsDependent {
sendBungeecordMessage("AuthMe", type, playerName.toLowerCase());
}
}
}