Fixed BungeeCord support by correctly saving the proxy ids (Fixes #22)
This commit is contained in:
1 parent
ac8bcb1758
commit
9fc7e0bf43
8 files changed
+13
-6
No files matched your search
+2
@@ -119,6 +119,8 @@ public class BungeeCordListener implements PluginMessageListener {
|
||||
UUID uuid = UUID.fromString(line.trim());
|
||||
ids.add(uuid);
|
||||
}
|
||||
|
||||
return ids;
|
||||
} catch (IOException ex) {
|
||||
plugin.getLogger().log(Level.SEVERE, "Failed to create file for Proxy whitelist", ex);
|
||||
} catch (Exception ex) {
|
||||
|
||||
@@ -51,7 +51,7 @@ public class ForceLoginTask implements Runnable {
|
||||
sendSuccessNotification();
|
||||
} else {
|
||||
boolean success = false;
|
||||
if (isOnlineThreadSafe() && session.isVerified()) {
|
||||
if (isOnlineThreadSafe()) {
|
||||
if (session.needsRegistration()) {
|
||||
success = forceRegister(authPlugin, player);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user