public class LoginRequestChangeEvent extends VelocityLockableNewActionEvent<LoginRequestEvent> implements EventWithPlayer
LoginRequestEvent
.
Not available for PROXY
implementations.
Constructor and Description |
---|
LoginRequestChangeEvent(LoginRequestEvent loginRequestEvent,
java.lang.Object plugin,
LockableEventAction action) |
Modifier and Type | Method and Description |
---|---|
LoginRequestEvent |
getLoginRequestEvent() |
com.velocitypowered.api.proxy.Player |
getPlayer()
Returns the player instance.
|
getAction, getEvent, getPlugin
public LoginRequestChangeEvent(LoginRequestEvent loginRequestEvent, java.lang.Object plugin, LockableEventAction action)
public LoginRequestEvent getLoginRequestEvent()
public com.velocitypowered.api.proxy.Player getPlayer()
getPlayer
in interface EventWithPlayer