mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 10:47:33 +02:00
Inform users about the delayed session start for proxies
This commit is contained in:
@ -96,7 +96,9 @@ public class ConnectionListener implements Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String sessionId = plugin.getSessionId(player.getAddress());
|
String sessionId = plugin.getSessionId(player.getAddress());
|
||||||
plugin.getLog().info("No on-going login session for player: {} with ID {}", player, sessionId);
|
plugin.getLog().info("No on-going login session for player: {} with ID {}. ", player, sessionId);
|
||||||
|
plugin.getLog().info("Setups using Minecraft proxies will start delayed " +
|
||||||
|
"when the command from the proxy is received");
|
||||||
} else {
|
} else {
|
||||||
Runnable forceLoginTask = new ForceLoginTask(plugin.getCore(), player, session);
|
Runnable forceLoginTask = new ForceLoginTask(plugin.getCore(), player, session);
|
||||||
Bukkit.getScheduler().runTaskAsynchronously(plugin, forceLoginTask);
|
Bukkit.getScheduler().runTaskAsynchronously(plugin, forceLoginTask);
|
||||||
|
Reference in New Issue
Block a user