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();