Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 14:30:17 +01:00
Fix velocity ping passthrough (#4626)
Dieser Commit ist enthalten in:
Ursprung
b39ed5de53
Commit
a39cd65537
@ -26,6 +26,7 @@
|
|||||||
package org.geysermc.geyser.platform.velocity;
|
package org.geysermc.geyser.platform.velocity;
|
||||||
|
|
||||||
import com.velocitypowered.api.event.proxy.ProxyPingEvent;
|
import com.velocitypowered.api.event.proxy.ProxyPingEvent;
|
||||||
|
import com.velocitypowered.api.network.ProtocolState;
|
||||||
import com.velocitypowered.api.network.ProtocolVersion;
|
import com.velocitypowered.api.network.ProtocolVersion;
|
||||||
import com.velocitypowered.api.proxy.InboundConnection;
|
import com.velocitypowered.api.proxy.InboundConnection;
|
||||||
import com.velocitypowered.api.proxy.ProxyServer;
|
import com.velocitypowered.api.proxy.ProxyServer;
|
||||||
@ -88,6 +89,11 @@ public class GeyserVelocityPingPassthrough implements IGeyserPingPassthrough {
|
|||||||
public ProtocolVersion getProtocolVersion() {
|
public ProtocolVersion getProtocolVersion() {
|
||||||
return ProtocolVersion.MAXIMUM_VERSION;
|
return ProtocolVersion.MAXIMUM_VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ProtocolState getProtocolState() {
|
||||||
|
return ProtocolState.STATUS;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ viaversion = "4.9.2"
|
|||||||
adapters = "1.12-SNAPSHOT"
|
adapters = "1.12-SNAPSHOT"
|
||||||
commodore = "2.2"
|
commodore = "2.2"
|
||||||
bungeecord = "a7c6ede"
|
bungeecord = "a7c6ede"
|
||||||
velocity = "3.1.1"
|
velocity = "3.3.0-SNAPSHOT"
|
||||||
viaproxy = "3.2.1"
|
viaproxy = "3.2.1"
|
||||||
fabric-minecraft = "1.20.5"
|
fabric-minecraft = "1.20.5"
|
||||||
fabric-loader = "0.15.10"
|
fabric-loader = "0.15.10"
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren