mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Fix RakNet ping (#3722)
This commit is contained in:
parent
4d929f8a2c
commit
eee8dd46b1
2 changed files with 4 additions and 2 deletions
|
@ -208,7 +208,9 @@ public final class GeyserServer {
|
|||
.nintendoLimited(false)
|
||||
.protocolVersion(GameProtocol.DEFAULT_BEDROCK_CODEC.getProtocolVersion())
|
||||
.version(GameProtocol.DEFAULT_BEDROCK_CODEC.getMinecraftVersion()) // Required to not be empty as of 1.16.210.59. Can only contain . and numbers.
|
||||
.ipv4Port(this.geyser.getConfig().getBedrock().port());
|
||||
.ipv4Port(this.geyser.getConfig().getBedrock().port())
|
||||
.ipv6Port(this.geyser.getConfig().getBedrock().port())
|
||||
.serverId(future.channel().config().getOption(RakChannelOption.RAK_GUID));
|
||||
|
||||
if (config.isPassthroughMotd() && pingInfo != null && pingInfo.getDescription() != null) {
|
||||
String[] motd = MessageTranslator.convertMessageLenient(pingInfo.getDescription()).split("\n");
|
||||
|
|
|
@ -11,7 +11,7 @@ gson = "2.3.1" # Provided by Spigot 1.8.8
|
|||
websocket = "1.5.1"
|
||||
protocol = "3.0.0.Beta1-20230424.095344-69"
|
||||
protocol-connection = "3.0.0.Beta1-20230424.095344-68"
|
||||
raknet = "1.0.0.CR1-20230311.162635-3"
|
||||
raknet = "1.0.0.CR1-20230429.113927-6"
|
||||
mcauthlib = "d9d773e"
|
||||
mcprotocollib = "1.19.4-2-20230427.170624-2"
|
||||
adventure = "4.14.0-20230424.215040-7"
|
||||
|
|
Loading…
Reference in a new issue