Skip to content

Commit d2c94af

Browse files
author
games647
authored
Merge pull request #636 from Smart123s/fix/floodgate/pluginmessage
Fix "No Session" in plugin messaging
2 parents 40b4eae + 4c514c2 commit d2c94af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bungee/src/main/java/com/github/games647/fastlogin/bungee/task/FloodgateAuthTask.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public FloodgateAuthTask(FastLoginCore<ProxiedPlayer, CommandSender, FastLoginBu
5353
@Override
5454
protected void startLogin() {
5555
BungeeLoginSession session = new BungeeLoginSession(player.getName(), isRegistered, profile);
56+
core.getPlugin().getSession().put(player.getPendingConnection(), session);
5657

5758
// enable auto login based on the value of 'autoLoginFloodgate' in config.yml
5859
boolean forcedOnlineMode = autoLoginFloodgate.equals("true")

0 commit comments

Comments
 (0)