mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 11:15:47 +01:00
[#1212] Clarify Javadoc of ServerConnectEvent
This commit is contained in:
parent
3cd4f169bd
commit
ca2227bad4
@ -9,6 +9,12 @@ import net.md_5.bungee.api.connection.ProxiedPlayer;
|
|||||||
import net.md_5.bungee.api.plugin.Cancellable;
|
import net.md_5.bungee.api.plugin.Cancellable;
|
||||||
import net.md_5.bungee.api.plugin.Event;
|
import net.md_5.bungee.api.plugin.Event;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called when deciding to connect to a server. At the time when this event is
|
||||||
|
* called, no connection has actually been made. Cancelling the event will
|
||||||
|
* ensure that the connection does not proceed and can be useful to prevent
|
||||||
|
* certain players from accessing certain servers.
|
||||||
|
*/
|
||||||
@Data
|
@Data
|
||||||
@ToString(callSuper = false)
|
@ToString(callSuper = false)
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
Loading…
Reference in New Issue
Block a user