forked from GeyserMC/Geyser
Call the PingEvent
This commit is contained in:
parent
caebb8e4f4
commit
ff11a55884
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ public class ConnectorServerEventHandler implements BedrockServerEventHandler {
|
||||||
pong.setProtocolVersion(GeyserConnector.BEDROCK_PACKET_CODEC.getProtocolVersion());
|
pong.setProtocolVersion(GeyserConnector.BEDROCK_PACKET_CODEC.getProtocolVersion());
|
||||||
pong.setVersion("1.12.0");
|
pong.setVersion("1.12.0");
|
||||||
|
|
||||||
|
connector.getPluginManager().runEvent(pong);
|
||||||
if (connector.getConfig().isPingPassthrough()) {
|
if (connector.getConfig().isPingPassthrough()) {
|
||||||
ServerStatusInfo serverInfo = connector.getPassthroughThread().getInfo();
|
ServerStatusInfo serverInfo = connector.getPassthroughThread().getInfo();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue