1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2026-01-03 14:12:21 +00:00

Call the PingEvent

This commit is contained in:
RednedEpic
2019-07-23 11:53:39 -05:00
parent caebb8e4f4
commit ff11a55884

View File

@@ -64,6 +64,7 @@ public class ConnectorServerEventHandler implements BedrockServerEventHandler {
pong.setProtocolVersion(GeyserConnector.BEDROCK_PACKET_CODEC.getProtocolVersion());
pong.setVersion("1.12.0");
connector.getPluginManager().runEvent(pong);
if (connector.getConfig().isPingPassthrough()) {
ServerStatusInfo serverInfo = connector.getPassthroughThread().getInfo();