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, registerIntentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelledpublic 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.