forked from TuxCoding/FastLogin
Merge pull request #636 from Smart123s/fix/floodgate/pluginmessage
Fix "No Session" in plugin messaging
This commit is contained in:
@ -53,6 +53,7 @@ public class FloodgateAuthTask
|
|||||||
@Override
|
@Override
|
||||||
protected void startLogin() {
|
protected void startLogin() {
|
||||||
BungeeLoginSession session = new BungeeLoginSession(player.getName(), isRegistered, profile);
|
BungeeLoginSession session = new BungeeLoginSession(player.getName(), isRegistered, profile);
|
||||||
|
core.getPlugin().getSession().put(player.getPendingConnection(), session);
|
||||||
|
|
||||||
// enable auto login based on the value of 'autoLoginFloodgate' in config.yml
|
// enable auto login based on the value of 'autoLoginFloodgate' in config.yml
|
||||||
boolean forcedOnlineMode = autoLoginFloodgate.equals("true")
|
boolean forcedOnlineMode = autoLoginFloodgate.equals("true")
|
||||||
|
Reference in New Issue
Block a user