From c451d46ce037f9449764cd9dffbdcc79c42f57f6 Mon Sep 17 00:00:00 2001 From: thiccaxe <51303986+thiccaxe@users.noreply.github.com> Date: Sun, 11 Apr 2021 10:30:47 -0700 Subject: [PATCH] document ServerListPingEvent --- .../net/minestom/server/event/server/ServerListPingEvent.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/net/minestom/server/event/server/ServerListPingEvent.java b/src/main/java/net/minestom/server/event/server/ServerListPingEvent.java index da79dae2c..490a10d91 100644 --- a/src/main/java/net/minestom/server/event/server/ServerListPingEvent.java +++ b/src/main/java/net/minestom/server/event/server/ServerListPingEvent.java @@ -6,6 +6,10 @@ import net.minestom.server.network.player.PlayerConnection; import net.minestom.server.ping.ResponseData; import org.jetbrains.annotations.NotNull; +/** + * Called when a {@link PlayerConnection} sends a status packet, + * usually to display information on the server list. + */ public class ServerListPingEvent extends Event implements CancellableEvent { private boolean cancelled = false;