mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-12-22 16:38:04 +01:00
Added new RakNet options to match vanilla behaviour
This commit is contained in:
parent
2212977587
commit
f4ae68f955
@ -59,6 +59,7 @@ public class BedrockProxyConnection extends ProxyConnection {
|
||||
.option(RakChannelOption.RAK_PROTOCOL_VERSION, ProtocolConstants.BEDROCK_RAKNET_PROTOCOL_VERSION)
|
||||
.option(RakChannelOption.RAK_COMPATIBILITY_MODE, true)
|
||||
.option(RakChannelOption.RAK_CLIENT_INTERNAL_ADDRESSES, 20)
|
||||
.option(RakChannelOption.RAK_TIME_BETWEEN_SEND_CONNECTION_ATTEMPTS_MS, 500)
|
||||
.option(RakChannelOption.RAK_CONNECT_TIMEOUT, (long) ViaProxy.getConfig().getConnectTimeout())
|
||||
.option(RakChannelOption.RAK_SESSION_TIMEOUT, 30_000L)
|
||||
.option(RakChannelOption.RAK_GUID, ThreadLocalRandom.current().nextLong())
|
||||
|
Loading…
Reference in New Issue
Block a user