mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Resolve issue when trying to transfer a Geyser player (#4673)
This commit is contained in:
parent
5ebb6ef0d6
commit
8b7703154e
2 changed files with 4 additions and 1 deletions
|
@ -896,6 +896,9 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
|
|||
this.downstream.getSession().setFlag(BuiltinFlags.ATTEMPT_SRV_RESOLVE, resolveSrv);
|
||||
}
|
||||
|
||||
// Disable automatic creation of a new TcpClientSession when transferring - we don't use that functionality.
|
||||
this.downstream.getSession().setFlag(MinecraftConstants.FOLLOW_TRANSFERS, false);
|
||||
|
||||
if (geyser.getConfig().getRemote().isUseProxyProtocol()) {
|
||||
downstream.setFlag(BuiltinFlags.ENABLE_CLIENT_PROXY_PROTOCOL, true);
|
||||
downstream.setFlag(BuiltinFlags.CLIENT_PROXIED_ADDRESS, upstream.getAddress());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue