We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b2bdac commit 2c515e6Copy full SHA for 2c515e6
core/src/main/java/com/github/games647/fastlogin/core/shared/FloodgateManagement.java
@@ -81,10 +81,7 @@ public void run() {
81
}
82
83
profile = core.getAuthStorage().loadProfile(username);
84
- if (!profile.isSaved()) {
85
- // linked players are stored as Java (= not Floodgate) players
86
- profile.setFloodgate(!isLinked);
87
- } else {
+ if (profile.isSaved()) {
88
if (!profile.isFloodgateMigrated()) {
89
if (isLinked) {
90
profile.setFloodgate(false);
@@ -106,6 +103,9 @@ public void run() {
106
103
username);
107
104
return;
108
105
+ } else {
+ // linked players are stored as Java (= not Floodgate) players
+ profile.setFloodgate(!isLinked);
109
110
111
AuthPlugin<P> authPlugin = core.getAuthPluginHook();
0 commit comments