Fix bungee message order (login -> connect)

This commit is contained in:
Gabriele C
2022-08-18 03:41:31 +02:00
parent 6f1c63e693
commit c38e2aba28
3 changed files with 3 additions and 3 deletions
@@ -305,7 +305,7 @@ public class AsynchronousLogin implements AsynchronousProcess {
// As described at https://www.spigotmc.org/wiki/bukkit-bungee-plugin-messaging-channel/
// "Keep in mind that you can't send plugin messages directly after a player joins."
bukkitService.scheduleSyncDelayedTask(() ->
bungeeSender.sendAuthMeBungeecordMessage(player, MessageType.LOGIN), 10L);
bungeeSender.sendAuthMeBungeecordMessage(player, MessageType.LOGIN), 5L);
}
// As the scheduling executes the Task most likely after the current