mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-22 11:55:24 +01:00
Merge branch 'main' of https://github.com/RaphiMC/ViaProxy
This commit is contained in:
commit
8f35fef853
@ -84,7 +84,7 @@ public class ExternalInterface {
|
|||||||
}
|
}
|
||||||
} else if (Options.LOCAL_SOCKET_AUTH) {
|
} else if (Options.LOCAL_SOCKET_AUTH) {
|
||||||
new LocalSocketClient(48941).request("authenticate", serverIdHash);
|
new LocalSocketClient(48941).request("authenticate", serverIdHash);
|
||||||
} else if (Options.MC_ACCOUNT != null) {
|
} else if (Options.MC_ACCOUNT != null && !Options.MC_ACCOUNT.prevResult().items().isEmpty()) {
|
||||||
try {
|
try {
|
||||||
ViaProxyGameProfileFetcher.sessionService.joinServer(new GameProfile(Options.MC_ACCOUNT.id(), Options.MC_ACCOUNT.name()), Options.MC_ACCOUNT.prevResult().prevResult().access_token(), serverIdHash);
|
ViaProxyGameProfileFetcher.sessionService.joinServer(new GameProfile(Options.MC_ACCOUNT.id(), Options.MC_ACCOUNT.name()), Options.MC_ACCOUNT.prevResult().prevResult().access_token(), serverIdHash);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user