[#1212] Clarify Javadoc of ServerConnectEvent

This commit is contained in:
md_5 2014-09-25 10:23:52 +10:00
parent 3cd4f169bd
commit ca2227bad4

View File

@ -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.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
@ToString(callSuper = false)
@EqualsAndHashCode(callSuper = false)