mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-08 09:27:58 +01:00
document ServerListPingEvent
This commit is contained in:
parent
8a9abff98b
commit
c451d46ce0
@ -6,6 +6,10 @@ import net.minestom.server.network.player.PlayerConnection;
|
|||||||
import net.minestom.server.ping.ResponseData;
|
import net.minestom.server.ping.ResponseData;
|
||||||
import org.jetbrains.annotations.NotNull;
|
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 {
|
public class ServerListPingEvent extends Event implements CancellableEvent {
|
||||||
private boolean cancelled = false;
|
private boolean cancelled = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user