public class LoginEvent extends AsyncEvent<LoginEvent> implements Cancellable
Constructor and Description |
---|
LoginEvent(PendingConnection connection,
Callback<LoginEvent> done) |
Modifier and Type | Method and Description |
---|---|
String |
getCancelReason()
Deprecated.
Use component methods instead.
|
void |
setCancelReason(BaseComponent... cancelReason) |
void |
setCancelReason(String cancelReason)
Deprecated.
|
completeIntent, postCall, registerIntent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCancelled, setCancelled
public LoginEvent(PendingConnection connection, Callback<LoginEvent> done)
@Deprecated public String getCancelReason()
@Deprecated public void setCancelReason(String cancelReason)
setCancelReason(net.md_5.bungee.api.chat.BaseComponent...)
instead.cancelReason
- reason to be displayedpublic void setCancelReason(BaseComponent... cancelReason)
Copyright © 2012–2019 SpigotMC. All rights reserved.