mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-19 06:32:03 +01:00
Fix build
This commit is contained in:
parent
5cb4be26ff
commit
232e4b8a28
@ -8,17 +8,17 @@ import net.minestom.server.network.player.PlayerConnection;
|
||||
* <p>Can be specified in {@link net.minestom.server.MinecraftServer#start(String, int,
|
||||
* ResponseDataConsumer)}.
|
||||
*
|
||||
* @deprecated listen to the {@link net.minestom.server.event.server.StatusRequestEvent} instead
|
||||
* @deprecated listen to the {@link net.minestom.server.event.server.ServerListPingEvent} instead
|
||||
*/
|
||||
@FunctionalInterface
|
||||
@Deprecated
|
||||
public interface ResponseDataConsumer {
|
||||
|
||||
/**
|
||||
* A method to fill the data of the response.
|
||||
*
|
||||
* @param playerConnection The player connection to which the response should be sent.
|
||||
* @param responseData The data for the response.
|
||||
*/
|
||||
void accept(PlayerConnection playerConnection, ResponseData responseData);
|
||||
/**
|
||||
* A method to fill the data of the response.
|
||||
*
|
||||
* @param playerConnection The player connection to which the response should be sent.
|
||||
* @param responseData The data for the response.
|
||||
*/
|
||||
void accept(PlayerConnection playerConnection, ResponseData responseData);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user