-
Notifications
You must be signed in to change notification settings - Fork 1
fix player address sending #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,7 @@ public class WDPEListener { | |
| public static void onLogin(PlayerLoginEvent ev) { | ||
| ProxiedPlayer player = ev.getPlayer(); | ||
|
|
||
| if(!ev.isCancelled()) CloudInterface.getInstance().playerLogin(player.getName(), player.getUniqueId().toString(), player.getAddress().getHostName()); | ||
| if(!ev.isCancelled()) CloudInterface.getInstance().playerLogin(player.getName(), player.getUniqueId().toString(), player.getAddress().toString()); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Switching login reporting to Useful? React with 👍 / 👎. |
||
| if(ev.isCancelled()) CloudInterface.getInstance().playerDisconnect(player.getUniqueId().toString()); | ||
| } | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fetchServeronly returns the configured fallback whenplayer.getDownstreamConnection() != null, but the join-handler path (determineServer) runs before a downstream connection exists, so withfallback_on_join=trueand no hub available the method returnsnullinstead of the fallback server. This can block first-time joins during hub outages even though fallback is configured.Useful? React with 👍 / 👎.