mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2026-07-05 08:00:47 +02:00
8e6221d846
Login checks are done by bungee, so Bukkit doesn't have to do anything. The session is set for them by the plugin messages, however, force login may be delayed. In that case, the player should be logged in at the onPlayerJoin event. However, FloodgateAuthTask was run at onPlayerJoin, even if the player allready had a valid login session. And FloodgateAuthTask always deffers force login if bungee is present. As a result, the Floodgate player will never get logged in, if the force login was delayed by the plugin message. Co-authored-by: BOT-Neil <neilbooth125@gmail.com>